From ff94a6e4a0bc2e1ad7f1fdd783e4e2f9aa9d5c89 Mon Sep 17 00:00:00 2001 From: Festus Hagen Date: Sat, 5 Dec 2015 11:41:00 -0500 Subject: [PATCH] Silence error: Integer constant is too large for long type. --- tests/test_bytevector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_bytevector.cpp b/tests/test_bytevector.cpp index c9f4522c..e38d664b 100644 --- a/tests/test_bytevector.cpp +++ b/tests/test_bytevector.cpp @@ -192,7 +192,7 @@ public: CPPUNIT_ASSERT(ByteVector::fromUInt16LE(4386) == ByteVector::fromUInt16BE(8721)); CPPUNIT_ASSERT(ByteVector::fromUInt32LE(287454020) == ByteVector::fromUInt32BE(1144201745)); - CPPUNIT_ASSERT(ByteVector::fromUInt64LE(1234605615291183940) == ByteVector::fromUInt64BE(4914309075945333265)); + CPPUNIT_ASSERT(ByteVector::fromUInt64LE(1234605615291183940ll) == ByteVector::fromUInt64BE(4914309075945333265ll)); const unsigned char PI32LE[] = { 0x00, 0xdb, 0x0f, 0x49, 0x40 }; const unsigned char PI32BE[] = { 0x00, 0x40, 0x49, 0x0f, 0xdb };