[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Fix compilation of check-qint.c by using a long lon
From: |
Pierre Riteau |
Subject: |
[Qemu-devel] [PATCH] Fix compilation of check-qint.c by using a long long integer constant |
Date: |
Fri, 4 Sep 2009 19:01:51 +0200 |
Error was:
check-qint.c:46: error: integer constant is too large for 'long' type
---
check-qint.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/check-qint.c b/check-qint.c
index ae5d22f..b931d47 100644
--- a/check-qint.c
+++ b/check-qint.c
@@ -43,7 +43,7 @@ END_TEST
START_TEST(qint_from_int64_test)
{
QInt *qi;
- const int64_t value = 0xffffffffffffffff;
+ const int64_t value = 0xfffffffffffffffLL;
qi = qint_from_int(value);
fail_unless(qi->value == value);
--
1.5.6.5
- [Qemu-devel] [PATCH] Fix compilation of check-qint.c by using a long long integer constant,
Pierre Riteau <=