From 67a71ea230e1678f3e281ba7431cdbab7ec9e8b1 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 21 Oct 2015 13:05:32 -0700 Subject: yabel: explicitly cast values to match printk expectations Change-Id: Id2230ecd800b138b6ccbbac318e71c9edf076c75 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/12116 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- src/device/oprom/yabel/device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/device/oprom/yabel') diff --git a/src/device/oprom/yabel/device.h b/src/device/oprom/yabel/device.h index a8dfc8c4a1..b8891eec2d 100644 --- a/src/device/oprom/yabel/device.h +++ b/src/device/oprom/yabel/device.h @@ -176,10 +176,10 @@ dumpHID(void) u64 hid; //HID1 = 1009 __asm__ __volatile__("mfspr %0, 1009":"=r"(hid)); - printf("HID1: %016llx\n", hid); + printf("HID1: %016llx\n", (unsigned long long)hid); //HID4 = 1012 __asm__ __volatile__("mfspr %0, 1012":"=r"(hid)); - printf("HID4: %016llx\n", hid); + printf("HID4: %016llx\n", (unsigned long long)hid); } #endif -- cgit v1.2.3