From 0eb0a81c0c8e2ea99320cc42574766081052af86 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 8 Dec 2013 13:19:01 -0600 Subject: Can't test <0 on an unsigned, reported by Nathan McSween. --- toys/posix/od.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'toys/posix') diff --git a/toys/posix/od.c b/toys/posix/od.c index 6853a9b1..6c7cc94d 100644 --- a/toys/posix/od.c +++ b/toys/posix/od.c @@ -31,7 +31,8 @@ GLOBALS( long max_count; long jump_bytes; - unsigned types, leftover, star, address_idx; + int address_idx; + unsigned types, leftover, star; char *buf; uint64_t bufs[4]; // force 64-bit alignment off_t pos; -- cgit v1.2.3