|
From: | Pierre Riteau |
Subject: | Re: [Qemu-devel] [PATCH] Fix compilation of check-qint.c by using a long long integer constant |
Date: | Fri, 4 Sep 2009 19:18:11 +0200 |
On 4 sept. 09, at 19:01, 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..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
Please disregard this version as I erased a character by mistake. New version sent to the list already. -- Pierre Riteau -- http://perso.univ-rennes1.fr/pierre.riteau/
[Prev in Thread] | Current Thread | [Next in Thread] |