change can type to size_t so works on 64 bit

This commit is contained in:
Laeeth Isharc 2015-11-22 19:15:06 +00:00
parent 09fbeea89a
commit d01bf4e221
1 changed files with 1 additions and 1 deletions

View File

@ -663,7 +663,7 @@ class HttpRequest {
}
break;
case 2: // reading data
auto can = a + bodyReadingState.contentLengthRemaining;
size_t can = a + bodyReadingState.contentLengthRemaining;
if(can > data.length)
can = data.length;