VC warning fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4689 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -648,7 +648,7 @@ const char *hiddenpwd(const char *pwd, int showchars)
|
||||
static string text;
|
||||
s_strcpy(text, pwd);
|
||||
if(showchars > 0) sc = showchars;
|
||||
for(int i = strlen(text) - 1; i >= sc; i--) text[i] = '*';
|
||||
for(int i = (int)strlen(text) - 1; i >= sc; i--) text[i] = '*';
|
||||
return text;
|
||||
}
|
||||
//////////////// geometry utils ////////////////
|
||||
|
||||
Reference in New Issue
Block a user