From: Denys Vlasenko Date: Wed, 27 Mar 2013 14:18:32 +0000 (+0100) Subject: hexdump: need to use xstrtoull for off_t X-Git-Tag: 1_22_0~213 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2c24806bf48cddcdaa32d654986e5c275a3d34f6;p=oweals%2Fbusybox.git hexdump: need to use xstrtoull for off_t Signed-off-by: Denys Vlasenko --- diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c index 43fc188bf..4d998b916 100644 --- a/util-linux/hexdump.c +++ b/util-linux/hexdump.c @@ -116,7 +116,7 @@ int hexdump_main(int argc, char **argv) dumper->dump_length = xatoi_positive(optarg); } /* else */ if (ch == 's') { /* compat: -s accepts hex numbers too */ - dumper->dump_skip = xstrtoul_range_sfx( + dumper->dump_skip = xstrtoull_range_sfx( optarg, /*base:*/ 0, /*lo:*/ 0, /*hi:*/ OFF_T_MAX,