From 63d97c10f946b858f5a0311b389594c3d9ece0ac Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 15 Sep 2016 22:48:33 -0400 Subject: Use strtoul in xx Oops. --- .bin/xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bin/xx.c b/.bin/xx.c index 734f9d3c..5ee22f6f 100755 --- a/.bin/xx.c +++ b/.bin/xx.c @@ -32,11 +32,11 @@ int main(int argc, char **argv) { if (opt == 'a') flags ^= FLAG_ASCII; else if (opt == 'c') - cols = (size_t) strtol(optarg, NULL, 10); + cols = strtoul(optarg, NULL, 10); else if (opt == 'f') flags ^= FLAG_OFFSET; else if (opt == 'g') - group = (size_t) strtol(optarg, NULL, 10); + group = strtoul(optarg, NULL, 10); else if (opt == 'k') flags ^= FLAG_SKIP; else { -- cgit 1.4.1