Fix warning on 32-bit hosts
PATCH 1/1 Fix warning on 32-bit hosts
CC check-qint.o
cc1: warnings being treated as errorscheck-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 <[email protected]>
--- check-qint.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
check-qint.c +1 -1
@@ -43,7 +43,7 @@ END_TESTSTART_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);
Signature · 1 line
1.6.4.2
Quoted 7 lines · On Tue, 8 Sep 2009 13:46:42 +0300 "Kirill A. Shutemov" <[email protected]>…
CC check-qint.o
cc1: warnings being treated as errorscheck-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 1Signed-off-by Kirill A. Shutemov <[email protected]>
We already have a better fix on the list, but thanks anyway.