On Fri, Sep 04, 2009 at 07:09:58PM +0200, Pierre Riteau wrote:
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..f5c054e 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 = 0xffffffffffffffffLL;
Hm, well it does not really fit in a signed long long either (so
from that
aspect it should be ULL).
Should it not be simply -1 (does qemu assume all architectures
use two's complement?)?