unsigned -> size_t for string::find returns

This commit is contained in:
Glenn Maynard
2004-06-16 07:01:12 +00:00
parent f48ba0fde4
commit 47d43cee82
7 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ static CString GetDirOfExecutable( CString argv0 )
#endif
// strip off executable name
unsigned n = sPath.find_last_of("/");
size_t n = sPath.find_last_of("/");
if( n != sPath.npos )
sPath.erase(n);
else