mirror of
https://github.com/frida/tinycc
synced 2024-11-23 16:19:35 +03:00
Add missing casts to fix compiler warnings
This commit is contained in:
parent
c93d276e82
commit
9c62e25b8b
@ -879,12 +879,14 @@ static unsigned long arm64_pcs(int n, int nb_fixed, CType **type, PCSAlloc *a)
|
||||
else if (a[i].indirect && !i)
|
||||
printf("X8 pointer\n");
|
||||
else if (a[i].type == PCS_IREG)
|
||||
printf("X%lu%s\n", a[i].value, a[i].indirect ? " pointer" : "");
|
||||
printf("X%lu%s\n", (unsigned long)a[i].value,
|
||||
a[i].indirect ? " pointer" : "");
|
||||
else if (a[i].type == PCS_FREG)
|
||||
printf("V%lu\n", a[i].value);
|
||||
printf("V%lu\n", (unsigned long)a[i].value);
|
||||
else
|
||||
printf("stack %lu%s\n",
|
||||
a[i].value, a[i].indirect ? " pointer" : "");
|
||||
(unsigned long)a[i].value,
|
||||
a[i].indirect ? " pointer" : "");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user