Author: rmottola
Date: Thu Mar 24 18:22:05 2016
New Revision: 39600
URL: http://svn.gna.org/viewcvs/gnustep?rev=39600&view=rev
Log:
use NSInteger instead of int
Modified:
apps/gworkspace/trunk/Tools/searchtool/FinderModulesProtocol.h
apps/gworkspace/trunk/Tools/searchtool/searchtool.m
Modified: apps/gworkspace/trunk/Tools/searchtool/FinderModulesProtocol.h
URL:
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/Tools/searchtool/FinderModulesProtocol.h?rev=39600&r1=39599&r2=39600&view=diff
==============================================================================
--- apps/gworkspace/trunk/Tools/searchtool/FinderModulesProtocol.h
(original)
+++ apps/gworkspace/trunk/Tools/searchtool/FinderModulesProtocol.h Thu Mar
24 18:22:05 2016
@@ -3,7 +3,7 @@
* Copyright (C) 2004 Free Software Foundation, Inc.
*
* Author: Enrico Sersale <[email protected]>
- * Date: March 2004
+ * Date: March 2004-2016
*
* This file is part of the GNUstep GWorkspace application
*
@@ -42,16 +42,16 @@
- (void)setInUse:(BOOL)value;
-- (int)index;
+- (NSInteger)index;
-- (void)setIndex:(int)idx;
+- (void)setIndex:(NSInteger)idx;
- (NSDictionary *)searchCriteria;
- (BOOL)checkPath:(NSString *)path
withAttributes:(NSDictionary *)attributes;
-- (int)compareModule:(id <FinderModulesProtocol>)module;
+- (NSComparisonResult)compareModule:(id <FinderModulesProtocol>)module;
- (BOOL)reliesOnModDate;
Modified: apps/gworkspace/trunk/Tools/searchtool/searchtool.m
URL:
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/Tools/searchtool/searchtool.m?rev=39600&r1=39599&r2=39600&view=diff
==============================================================================
--- apps/gworkspace/trunk/Tools/searchtool/searchtool.m (original)
+++ apps/gworkspace/trunk/Tools/searchtool/searchtool.m Thu Mar 24 18:22:05 2016
@@ -1,6 +1,6 @@
/* searchtool.m
*
- * Copyright (C) 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2004-2016 Free Software Foundation, Inc.
*
* Author: Enrico Sersale <[email protected]>
* Date: February 2004
@@ -22,10 +22,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
*/
-#include <Foundation/Foundation.h>
-#include <AppKit/AppKit.h>
-#include "FinderModulesProtocol.h"
-#include "config.h"
+#import <Foundation/Foundation.h>
+#import <AppKit/AppKit.h>
+#import "FinderModulesProtocol.h"
+#import "config.h"
@@ -159,7 +159,7 @@
BOOL isdir;
NSMutableArray *bundlesPaths;
NSEnumerator *enumerator;
- int i;
+ NSUInteger i;
bundlesPaths = [NSMutableArray array];
enumerator = [NSSearchPathForDirectoriesInDomains
@@ -201,7 +201,7 @@
NSString *path = [paths objectAtIndex: i];
NSDictionary *attributes = [fm fileAttributesAtPath: path traverseLink:
YES];
NSString *type = [attributes fileType];
- int j;
+ NSUInteger j;
if (type == NSFileTypeDirectory) {
CREATE_AUTORELEASE_POOL(arp1);
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs