mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
LibC: Use correct inttypes.h format strings on Aarch64
Similarly to x86_64, Aarch64 is LP64, so its `uint64_t` type is `unsigned long`. Fixes a bunch of compiler warnings when compiling the LLVM runtime libraries for the aarch64-pc-serenity target.
This commit is contained in:
parent
95cff1133d
commit
bb92991408
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
#ifndef __x86_64__
|
#ifdef __i386__
|
||||||
# define __PRI64_PREFIX "ll"
|
# define __PRI64_PREFIX "ll"
|
||||||
# define __PRIPTR_PREFIX
|
# define __PRIPTR_PREFIX
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue