Tidyups and bugfixes based on compiler warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4881 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-09-13 04:11:39 +00:00
parent 6beb80c336
commit ca36a2f5ed
5 changed files with 224 additions and 181 deletions

View file

@ -144,7 +144,8 @@ pathSeps()
myPathSeps = [NSCharacterSet characterSetWithCharactersInString: @"/"];
#endif
RETAIN(myPathSeps);
sepMember = [myPathSeps methodForSelector: @selector(characterIsMember:)];
sepMember = (BOOL (*)(NSCharacterSet*, SEL, unichar))
[myPathSeps methodForSelector: @selector(characterIsMember:)];
}
return myPathSeps;
}