mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +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
Notes:
sideshowbarker
2024-07-17 11:34:47 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/bb92991408 Pull-request: https://github.com/SerenityOS/serenity/pull/13671 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/timschumi ✅
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#ifndef __x86_64__
|
||||
#ifdef __i386__
|
||||
# define __PRI64_PREFIX "ll"
|
||||
# define __PRIPTR_PREFIX
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue