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
@@ -847,7 +847,7 @@ bool GetCommandlineArgument( const CString &option, CString *argument, int iInde
{
const CString CurArgument = g_argv[arg];
const unsigned i = CurArgument.find( "=" );
const size_t i = CurArgument.find( "=" );
CString CurOption = CurArgument.substr(0,i);
if( CurOption.CompareNoCase(optstr) )
continue; /* no match */