Fix warning

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40197 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2016-11-08 21:34:45 +00:00
parent f388be9f1f
commit 5d1a88a4db

View file

@ -549,7 +549,7 @@ static NSDictionary *extPreferences = nil;
static NSString *urlPrefPath = nil; static NSString *urlPrefPath = nil;
static NSDictionary *urlPreferences = nil; static NSDictionary *urlPreferences = nil;
// FIXME: Won't work for MINGW32 // FIXME: Won't work for MINGW32
static NSString *_rootPath = @"/"; //static NSString *_rootPath = @"/";
/* /*
* Class methods * Class methods
@ -2086,7 +2086,7 @@ launchIdentifiers: (NSArray **)identifiers
end++; end++;
} }
len = (end - ptr); len = (end - ptr);
path = [mgr stringWithFileSystemRepresentation: (const char *)ptr length: len]; path = [mgr stringWithFileSystemRepresentation: ptr length: len];
[names addObject: path]; [names addObject: path];
} }
if (base != buf) if (base != buf)