aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gpllib/acpi/xsdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/gpllib/acpi/xsdt.c')
-rw-r--r--com32/gpllib/acpi/xsdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/gpllib/acpi/xsdt.c b/com32/gpllib/acpi/xsdt.c
index 208abc67..976c8965 100644
--- a/com32/gpllib/acpi/xsdt.c
+++ b/com32/gpllib/acpi/xsdt.c
@@ -63,7 +63,7 @@ int parse_xsdt(s_acpi * acpi)
/* Let's grab the pointed table header */
char address[16] = { 0 };
- sprintf(address, "%llx", *p);
+ sprintf(address, "%" PRIx64 "x", *p);
uint64_t *pointed_address = (uint64_t *)strtoul(address, NULL, 16);
x->entry[x->entry_count] = pointed_address;