mirror of
https://github.com/reactos/CMake.git
synced 2025-02-28 07:55:55 +00:00
COMP: fix warning on MSVC 8: conversion from 'size_t' to 'unsigned int', possible loss of data
Alex
This commit is contained in:
parent
9b5ed0cfa9
commit
00c9964a8c
@ -38,7 +38,7 @@ static unsigned int ChompStrlen(const char* line)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
unsigned int length = strlen(line);
|
||||
size_t length = strlen(line);
|
||||
if ((line[length-1] == '\n') || (line[length-1] == '\r'))
|
||||
{
|
||||
length--;
|
||||
|
Loading…
x
Reference in New Issue
Block a user