diff options
author | Anton Kling <anton@kling.gg> | 2023-11-01 19:34:42 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-13 14:55:09 +0100 |
commit | 249d7f4ab0bff181534b0d17f3387f59b7c5feba (patch) | |
tree | bbd2aebe704041a086fc2104ae7a092a592b530e /userland/libc/include/inttypes.h | |
parent | ec2ca84628a253eda95ccb097a2e269dc1dc47b8 (diff) |
LibC: Support negative values in printf for %d
Diffstat (limited to 'userland/libc/include/inttypes.h')
-rw-r--r-- | userland/libc/include/inttypes.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/userland/libc/include/inttypes.h b/userland/libc/include/inttypes.h index adde7c8..9d53e83 100644 --- a/userland/libc/include/inttypes.h +++ b/userland/libc/include/inttypes.h @@ -5,10 +5,10 @@ #define PRId16 "d" #define PRId32 "d" #define PRId64 "d" -#define PRIu8 "d" -#define PRIu16 "d" -#define PRIu32 "d" -#define PRIu64 "d" +#define PRIu8 "u" +#define PRIu16 "u" +#define PRIu32 "u" +#define PRIu64 "u" #define PRIx8 "x" #define PRIx16 "x" #define PRIx32 "x" |