On Tue, Sep 30, 2025 at 07:05:50PM +0200, [email protected] 
wrote:
> 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
> 
> 

Even if trivial: can you describe what it fixes and maybe some simple command
or test-case?

-- 
Kind regards,
Hiltjo

Reply via email to