1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3:utils: Fix size type in log2pcaphex

This fixes compilation with -Wstrict-overflow=2

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2017-12-07 19:47:04 +01:00 committed by Jeremy Allison
parent c2e9fb63c0
commit dfb69482c4

View File

@ -305,7 +305,7 @@ int main(int argc, const char **argv)
long data_offset = 0;
long data_length;
long data_bytes_read = 0;
int in_packet = 0;
size_t in_packet = 0;
struct poptOption long_options[] = {
POPT_AUTOHELP
{ "quiet", 'q', POPT_ARG_NONE, &quiet, 0, "Be quiet, don't output warnings" },