src: fix djgpp and musl builds

This commit is contained in:
Markus F.X.J. Oberhumer
2022-10-02 19:42:16 +02:00
parent 7398d8f68f
commit 0f42579e68
6 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -6085,7 +6085,7 @@ Elf64_Sym const *PackLinuxElf64::elf_lookup(char const *name) const
do {
if (gashend <= hp) {
char msg[120]; snprintf(msg, sizeof(msg),
"bad gnu_hash[%#zx] head=%u",
"bad gnu_hash[%#tx] head=%u",
hp - hasharr, hhead);
throwCantPack(msg);
}