Try to cast avay:

follow_tcp.c(323) : warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
follow_tcp.c(327) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data
follow_tcp.c(529) : warning C4267: '=' : conversion from 'size_t' to 'uInt', possible loss of data

svn path=/trunk/; revision=46539
This commit is contained in:
Anders Broman 2012-12-14 12:02:59 +00:00
parent 39c816931c
commit d075b08ad2
1 changed files with 3 additions and 3 deletions

View File

@ -320,11 +320,11 @@ sgetline(char *str, int *next) {
end = strstr(str, "\r\n");
if (!end) {
*next = strlen(str);
*next = (int)strlen(str);
return NULL;
}
*end = '\0';
*next = end-str+2;
*next = (int)(end-str+2);
return str;
}
@ -526,7 +526,7 @@ frs_return_t
if (gunzip) {
strm.next_in = buffer;
strm.avail_in = nchars;
strm.avail_in = (int)nchars;
do {
strm.next_out = outbuffer;
strm.avail_out = FLT_BUF_SIZE;