summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi_support
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-06-26 23:52:10 +0000
committerjkim <jkim@FreeBSD.org>2013-06-26 23:52:10 +0000
commitd6fbe88f0679a615b69608ec3ecb115885430183 (patch)
tree5308c8b7ecfe5d8a177052a821b0da7e79c86f9b /sys/dev/acpi_support
parentd67aed2f532632a2528eefcb53d629a814b476b4 (diff)
downloadFreeBSD-src-d6fbe88f0679a615b69608ec3ecb115885430183.zip
FreeBSD-src-d6fbe88f0679a615b69608ec3ecb115885430183.tar.gz
Consistently cast ACPICA 64-bit integer types when we print them.
Diffstat (limited to 'sys/dev/acpi_support')
-rw-r--r--sys/dev/acpi_support/atk0110.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi_support/atk0110.c b/sys/dev/acpi_support/atk0110.c
index c3f480e..7d30d5f 100644
--- a/sys/dev/acpi_support/atk0110.c
+++ b/sys/dev/acpi_support/atk0110.c
@@ -253,8 +253,8 @@ aibs_attach_sif(struct aibs_softc *sc, enum aibs_type st)
"0x%08"PRIx64" %20s %5"PRIi64" / %5"PRIi64" "
"0x%"PRIx64"\n",
name[0], i,
- as[i].i, desc, (int64_t)as[i].l, (int64_t)as[i].h,
- oi[4].Integer.Value);
+ (uint64_t)as[i].i, desc, (int64_t)as[i].l,
+ (int64_t)as[i].h, (uint64_t)oi[4].Integer.Value);
#endif
snprintf(si, sizeof(si), "%i", i);
SYSCTL_ADD_PROC(device_get_sysctl_ctx(sc->sc_dev),
OpenPOWER on IntegriCloud