mirror of
https://github.com/glest/glest-source.git
synced 2025-08-09 01:46:28 +02:00
more vc++ compiler warning cleanup
This commit is contained in:
@@ -488,11 +488,11 @@ bool hasCommandArgument(int argc, char** argv,const string argName, int *foundIn
|
||||
if(foundIndex != NULL) {
|
||||
*foundIndex = -1;
|
||||
}
|
||||
int compareLen = strlen(argName.c_str());
|
||||
int compareLen = (int)strlen(argName.c_str());
|
||||
|
||||
for(int idx = startLookupIndex; idx < argc; idx++) {
|
||||
if(useArgParamLen == true) {
|
||||
compareLen = strlen(argv[idx]);
|
||||
compareLen = (int)strlen(argv[idx]);
|
||||
}
|
||||
if(_strnicmp(argName.c_str(),argv[idx],compareLen) == 0) {
|
||||
result = true;
|
||||
|
Reference in New Issue
Block a user