diff options
Diffstat (limited to 'scan_urlencoded_query.c')
-rw-r--r-- | scan_urlencoded_query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scan_urlencoded_query.c b/scan_urlencoded_query.c index f9c38ed..296e829 100644 --- a/scan_urlencoded_query.c +++ b/scan_urlencoded_query.c | |||
@@ -73,7 +73,7 @@ ssize_t scan_fixed_ip( char *data, size_t len, unsigned char ip[4] ) { | |||
73 | 73 | ||
74 | for( i=0; i<4; ++i ) { | 74 | for( i=0; i<4; ++i ) { |
75 | ssize_t j = scan_fixed_int( data, len, &u ); | 75 | ssize_t j = scan_fixed_int( data, len, &u ); |
76 | if( j == len ) return len; | 76 | if( j == (ssize_t)len ) return len; |
77 | ip[i] = u; | 77 | ip[i] = u; |
78 | data += len - j; | 78 | data += len - j; |
79 | len = j; | 79 | len = j; |