From: noneofyourbusiness <[email protected]> don't increment pointer in call to addtype
Signed-off-by: noneofyourbusiness <[email protected]> --- od.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/od.c b/od.c index 0b1c5c6..d0ff13f 100644 --- 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(); -- 2.51.0
