Message ID | 1252406802-29289-1-git-send-email-kirill@shutemov.name |
---|---|
State | Superseded |
Headers | show |
On Tue, 8 Sep 2009 13:46:42 +0300 "Kirill A. Shutemov" <kirill@shutemov.name> wrote: > CC check-qint.o > cc1: warnings being treated as errors > check-qint.c: In function 'qint_from_int64_test': > check-qint.c:46: error: integer constant is too large for 'long' type > make: *** [check-qint.o] Error 1 > > Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> We already have a better fix on the list, but thanks anyway.
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; qi = qint_from_int(value); fail_unless(qi->value == value);
CC check-qint.o cc1: warnings being treated as errors check-qint.c: In function 'qint_from_int64_test': check-qint.c:46: error: integer constant is too large for 'long' type make: *** [check-qint.o] Error 1 Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> --- check-qint.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)