mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-11 05:40:00 +00:00
On x86-64, `int64_t` is defined to be `long` (not `long long`) , so for printing, the "l" format specifier has to be used instead of i686's "ll". A couple of these macros weren't updated when the x86-64 target was added, so using them produced warnings like this: > warning: format specifies type 'long long' but the argument has type > 'int64_t' (aka 'long') [-Wformat] > > "DW_CFA_GNU_negative_offset_extended(%" PRId64 ")\n", offset); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ This commit changes the macros to be correct for both architectures, and reorders them to be consistent and adds a couple missing ones for the sake of completeness.