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
@@ -248,7 +248,7 @@ void filterlang(char *d, const char *s)
void trimtrailingwhitespace(char *s)
{
for(int n = strlen(s) - 1; n >= 0 && isspace(s[n]); n--)
for(int n = (int)strlen(s) - 1; n >= 0 && isspace(s[n]); n--)
s[n] = '\0';
}