forked from osmocom/wireshark
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:
parent
39c816931c
commit
d075b08ad2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue