Skip to content
Commit 389f061c authored by Keith Packard's avatar Keith Packard Committed by Carles Cufí
Browse files

scripts/log_parser: Handle signed and unsigned char length modifier



The C standard specifies 'hh' as a length modifier indicating an integer
conversion specifier applies to a signed char or unsigned char
argument. Python doesn't do that, so replace relevant %hh with %h.

Also fix the handling of %ll so that it applies to all integer specifiers
as well.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent af22475f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment