]> git.proxmox.com Git - qemu.git/blobdiff - tests/test-bitops.c
tests: fix 64-bit int literals for 32-bit hosts
[qemu.git] / tests / test-bitops.c
index 4e713e4e00c881148fdf4e3b0265742776e48f5d..8238eb5f6bbfeed9361ddb9fbe39020773e62dfa 100644 (file)
@@ -31,8 +31,8 @@ static const S32Test test_s32_data[] = {
 };
 
 static const S64Test test_s64_data[] = {
-    { 0x8459826734967223, 60, 4, -8 },
-    { 0x8459826734967223, 0, 64, 0x8459826734967223 },
+    { 0x8459826734967223ULL, 60, 4, -8 },
+    { 0x8459826734967223ULL, 0, 64, 0x8459826734967223LL },
 };
 
 static void test_sextract32(void)