From 3405fb23ccd0724dec6bfc2c9bfe10ebd5a1d931 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Mon, 9 Nov 2015 18:22:19 +1100 Subject: sparse: fix constant is so big warning in hw/xscom.c hw/xscom.c:425:23: warning: constant 0x221EF04980000000 is so big it is long Signed-off-by: Stewart Smith --- hw/xscom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xscom.c b/hw/xscom.c index c8e13be..a7a1705 100644 --- a/hw/xscom.c +++ b/hw/xscom.c @@ -422,7 +422,7 @@ int64_t xscom_read_cfam_chipid(uint32_t partid, uint32_t *chip_id) * something up (Murano DD2.1) */ if (chip_quirk(QUIRK_NO_F000F)) - val = 0x221EF04980000000; + val = 0x221EF04980000000UL; else rc = xscom_read(partid, 0xf000f, &val); -- cgit v1.1