summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--check-qint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/check-qint.c b/check-qint.c
index ae5d22f7e7..49887bb7d9 100644
--- a/check-qint.c
+++ b/check-qint.c
@@ -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);
}