diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-09-11 13:32:02 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-09-11 20:32:30 +0000 |
commit | 4abf452b193b3be3fd32bc113d573984495af232 (patch) | |
tree | 480bd14b8f8546ad0ca9f731ac45ec2b394c4b36 /editcap.c | |
parent | 4f46d9da9cc8175c3182bdc664324aa82f267aaa (diff) | |
download | wireshark-4abf452b193b3be3fd32bc113d573984495af232.tar.gz wireshark-4abf452b193b3be3fd32bc113d573984495af232.tar.bz2 wireshark-4abf452b193b3be3fd32bc113d573984495af232.zip |
Use the get.*guint32() routines to get guint32s.
Change-Id: Ie3b451549a29970a5e3204b449f198aa1c82de5b
Reviewed-on: https://code.wireshark.org/review/17650
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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': |