Fix format specifier. NFCI.

Using a portable format specifier avoids a "format specifies type
'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned
long') [-Werror,-Wformat]" error depending on the exact definition of
`uint64_t`.
This commit is contained in:
Jorge Gorbe Moya 2022-04-07 15:25:28 -07:00
parent 1da67ecefd
commit 627f55b3ae

View file

@ -343,7 +343,7 @@ void TextOutputSection::finalize() {
thunkInfo.sym->used = true;
target->populateThunk(thunkInfo.isec, funcSym);
finalizeOne(thunkInfo.isec);
fprintf(stderr, "%llx\n", thunkInfo.isec->outSecOff);
fprintf(stderr, "%" PRIx64 "\n", thunkInfo.isec->outSecOff);
thunks.push_back(thunkInfo.isec);
++thunkCount;
}