From 4fbfca378926bdcff3fc18c2d8dbaccdae3afccf Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Tue, 28 Jul 2015 18:39:19 +0200 Subject: Fix derp with unsigned ints --- test/endian_str_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/endian_str_test.cpp b/test/endian_str_test.cpp index 5f1df35de4..213d3030b8 100644 --- a/test/endian_str_test.cpp +++ b/test/endian_str_test.cpp @@ -113,18 +113,18 @@ void test_sint() read_little(str, i16); ASSERT(i16 == -0x0102); read_little(str, i32); - ASSERT(i32 == -0x01020304UL); + ASSERT(i32 == -0x01020304L); read_little(str, i64); - ASSERT(i64 == -0x0102030405060708ULL); + ASSERT(i64 == -0x0102030405060708LL); read_big(str, i8); ASSERT(i8 == -0x09); read_big(str, i16); ASSERT(i16 == -0x090A); read_big(str, i32); - ASSERT(i32 == -0x090A0B0CUL); + ASSERT(i32 == -0x090A0B0CL); read_big(str, i64); - ASSERT(i64 == -0x090A0B0C0D0E0F10ULL); + ASSERT(i64 == -0x090A0B0C0D0E0F10LL); ASSERT(str); //Check if stream has failed } -- cgit 0.0.5-2-1-g0f52