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:
Lee Salzman
2009-11-07 06:35:12 +00:00
parent 4fa39f1380
commit 6e7a51b3db
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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 ////////////////