COMP: less warnings with msvc8

Alex
This commit is contained in:
Alexander Neundorf 2007-05-29 08:42:39 -04:00
parent 25c6073080
commit cfee916b7c
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ static unsigned int ChompStrlen(const char* line)
{ {
return 0; return 0;
} }
size_t length = strlen(line); unsigned int length = static_cast<unsigned int>(strlen(line));
if ((line[length-1] == '\n') || (line[length-1] == '\r')) if ((line[length-1] == '\n') || (line[length-1] == '\r'))
{ {
length--; length--;