commit 99a32820a148780d2f085f6b4bd6bd2011c365c2
parent 1281dc4f902331be25ead726606226d1196d1e52
Author: noneofyourbusiness <noneofyourbusiness@danwin1210.de>
Date: Tue, 30 Sep 2025 19:05:50 +0200
od: fix for -t option
Don't increment pointer after call to addtype.
Signed-off-by: noneofyourbusiness <noneofyourbusiness@danwin1210.de>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/od.c b/od.c
@@ -281,7 +281,7 @@ main(int argc, char *argv[])
len = sizeof(int);
}
}
- addtype(*s++, len);
+ addtype(*s, len);
break;
default:
usage();