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
@@ -352,7 +352,7 @@ static void GetImageDirListing( CString sPath, CStringArray &AddTo, bool bReturn
static CString RemoveInitialWhitespace( CString s )
{
unsigned i = s.find_first_not_of(" \t\r\n");
size_t i = s.find_first_not_of(" \t\r\n");
if( i != s.npos )
s.erase( 0, i );
return s;