test_endian: fix uint64 check
authorMarko Kreen <markokr@gmail.com>
Tue, 30 Oct 2012 20:13:33 +0000 (22:13 +0200)
committerMarko Kreen <markokr@gmail.com>
Sat, 22 Dec 2012 22:40:44 +0000 (00:40 +0200)
test/test_endian.c

index a16ac3cd4f93090db98aa7f71cd6c94f060ba101..a8cc687e29d373b853c800ce9d3b7818e319ad37 100644 (file)
@@ -13,7 +13,7 @@ static void test_bswap(void *p)
 {
        int_check(bswap16(0xff01), 0x01ff);
        int_check(bswap32(0x01020304), 0x04030201);
-       int_check(bswap64(0x0102030405060708ULL), 0x0807060504030201ULL);
+       ull_check(bswap64(0x0102030405060708ULL), 0x0807060504030201ULL);
 end:;
 }