]> Git Repo - qemu.git/blobdiff - check-qint.c
block: read-only: open cdrom as read-only when using monitor's change command
[qemu.git] / check-qint.c
index ae5d22f7e7e9fcc373e5caa94762a3dd3a669440..49887bb7d9c1b9514b30fe2a7787758e13b1d8d7 100644 (file)
@@ -43,10 +43,10 @@ END_TEST
 START_TEST(qint_from_int64_test)
 {
     QInt *qi;
-    const int64_t value = 0xffffffffffffffff;
+    const int64_t value = 0x1234567890abcdefLL;
 
     qi = qint_from_int(value);
-    fail_unless(qi->value == value);
+    fail_unless((int64_t) qi->value == value);
 
     QDECREF(qi);
 }
This page took 0.02436 seconds and 4 git commands to generate.