Author: rmottola
Date: Wed Feb 17 11:01:26 2016
New Revision: 39385

URL: http://svn.gna.org/viewcvs/gnustep?rev=39385&view=rev
Log:
Clean up some types

Modified:
    apps/systempreferences/trunk/ChangeLog
    apps/systempreferences/trunk/Modules/Volumes/Volumes.m

Modified: apps/systempreferences/trunk/ChangeLog
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/systempreferences/trunk/ChangeLog?rev=39385&r1=39384&r2=39385&view=diff
==============================================================================
--- apps/systempreferences/trunk/ChangeLog      (original)
+++ apps/systempreferences/trunk/ChangeLog      Wed Feb 17 11:01:26 2016
@@ -1,3 +1,8 @@
+2016-02-17 Riccardo Mottola <[email protected]>
+
+       * Modules/Volumes/Volumes.m
+       Clean up some types.
+
 2014-10-28 Riccardo Mottola <[email protected]>
 
        * Modules/Themes/Themes.m

Modified: apps/systempreferences/trunk/Modules/Volumes/Volumes.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/systempreferences/trunk/Modules/Volumes/Volumes.m?rev=39385&r1=39384&r2=39385&view=diff
==============================================================================
--- apps/systempreferences/trunk/Modules/Volumes/Volumes.m      (original)
+++ apps/systempreferences/trunk/Modules/Volumes/Volumes.m      Wed Feb 17 
11:01:26 2016
@@ -1,6 +1,6 @@
 /* Volumes.m
  *  
- * Copyright (C) 2005 Free Software Foundation, Inc.
+ * Copyright (C) 2005-2016 Free Software Foundation, Inc.
  *
  * Author: Enrico Sersale <[email protected]>
  * Date: December 2005
@@ -41,7 +41,7 @@
     NSString *mtab = [self mtabPath];
     id cell;
     float fonth;
-    int i;
+    NSUInteger i;
 
     reservedNames = [NSMutableArray new];
     [reservedNames addObjectsFromArray: [self reservedMountNames]];
@@ -107,7 +107,7 @@
       
     for (i = 0; i < [removablePaths count]; i++) {
       NSString *path = [removablePaths objectAtIndex: i];
-      int count = [[mpointMatrix cells] count];
+      NSUInteger count = [[mpointMatrix cells] count];
 
       [mpointMatrix insertRow: count];
       cell = [mpointMatrix cellAtRow: count column: 0];   
@@ -141,9 +141,9 @@
 - (IBAction)mtypeButtAction:(id)sender
 {
   NSArray *cells = [mtypeMatrix cells];
-  int count = [cells count];
+  NSUInteger count = [cells count];
   id cell;
-  unsigned i;
+  NSUInteger i;
 
   if (sender == mtypeAdd) {
     NSString *mtype = [mtypeField stringValue];
@@ -497,7 +497,7 @@
 
 - (NSString *)mtabPath
 {
-  unsigned int systype = [[NSProcessInfo processInfo] operatingSystem];
+  NSUInteger systype = [[NSProcessInfo processInfo] operatingSystem];
 
   if (systype == NSGNULinuxOperatingSystem) {
     NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to