From 4abf452b193b3be3fd32bc113d573984495af232 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 11 Sep 2016 13:32:02 -0700 Subject: [PATCH] Use the get.*guint32() routines to get guint32s. Change-Id: Ie3b451549a29970a5e3204b449f198aa1c82de5b Reviewed-on: https://code.wireshark.org/review/17650 Reviewed-by: Guy Harris --- editcap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editcap.c b/editcap.c index faae5e073d..fb7532d9d3 100644 --- a/editcap.c +++ b/editcap.c @@ -1192,11 +1192,11 @@ main(int argc, char *argv[]) break; case 'i': /* break capture file based on time interval */ - secs_per_block = get_positive_int(optarg, "time interval"); + secs_per_block = get_nonzero_guint32(optarg, "time interval"); break; case 'I': /* ignored_bytes at the beginning of the frame for duplications removal */ - ignored_bytes = get_positive_int(optarg, "number of bytes to ignore"); + ignored_bytes = get_guint32(optarg, "number of bytes to ignore"); break; case 'L':