diff --git a/Userland/Libraries/LibC/inttypes.h b/Userland/Libraries/LibC/inttypes.h index a6abf94765..78b65c9103 100644 --- a/Userland/Libraries/LibC/inttypes.h +++ b/Userland/Libraries/LibC/inttypes.h @@ -36,8 +36,10 @@ __BEGIN_DECLS #define PRIu32 "u" #ifndef __LP64__ # define PRIu64 "llu" +# define PRIuPTR "x" #else # define PRIu64 "lu" +# define PRIuPTR "lx" #endif #define PRIx8 "b" #define PRIX8 "hhX"