diff options
author | Philip Paeps <philip@FreeBSD.org> | 2004-11-13 01:49:22 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2004-11-13 01:49:22 +0000 |
commit | 9599d206a445b0e08a539ed909c6228ea91fcefb (patch) | |
tree | 20802bc8eeb83634136f79ded733e3f620e5b989 /usr.sbin | |
parent | e18d08c9b0dd383c7a7c406dab756676dd81cbb8 (diff) | |
download | src-9599d206a445b0e08a539ed909c6228ea91fcefb.tar.gz src-9599d206a445b0e08a539ed909c6228ea91fcefb.zip |
Two uint32_t casts crept in where they shouldn't have.
ACPI_TYPE_INTEGER can be 64 bits wide in acpi v2.
Notes
Notes:
svn path=/head/; revision=137637
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/acpi/acpidb/acpidb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/acpi/acpidb/acpidb.c b/usr.sbin/acpi/acpidb/acpidb.c index fcdb7c586fb7..6ad8e96cfeff 100644 --- a/usr.sbin/acpi/acpidb/acpidb.c +++ b/usr.sbin/acpi/acpidb/acpidb.c @@ -159,8 +159,8 @@ aml_simulate_prompt(char *msg, ACPI_INTEGER def_val) if (msg != NULL) { printf("%s", msg); } - printf("(default: 0x%x ", (uint32_t)val); - printf(" / %u) >>", (uint32_t)val); + printf("(default: 0x%jx ", val); + printf(" / %ju) >>", val); fflush(stdout); bzero(buf, sizeof buf); |