From 249db78b046b912c4fd94dfc0c62a47ad5ab45aa Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 15 Jun 2015 13:00:35 +1000 Subject: libflash: Fix 32-bit ecc build of pflash uint64_t is a long long, the constants need the "ull" suffix. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Stewart Smith --- libflash/ecc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libflash') diff --git a/libflash/ecc.c b/libflash/ecc.c index 8ab1f31..78c88d0 100644 --- a/libflash/ecc.c +++ b/libflash/ecc.c @@ -38,14 +38,14 @@ * These values come from the HW design of the ECC algorithm. */ static uint64_t eccmatrix[] = { - 0x0000e8423c0f99ff, - 0x00e8423c0f99ff00, - 0xe8423c0f99ff0000, - 0x423c0f99ff0000e8, - 0x3c0f99ff0000e842, - 0x0f99ff0000e8423c, - 0x99ff0000e8423c0f, - 0xff0000e8423c0f99 + 0x0000e8423c0f99ffull, + 0x00e8423c0f99ff00ull, + 0xe8423c0f99ff0000ull, + 0x423c0f99ff0000e8ull, + 0x3c0f99ff0000e842ull, + 0x0f99ff0000e8423cull, + 0x99ff0000e8423c0full, + 0xff0000e8423c0f99ull }; /** -- cgit v1.1