projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba0d220
)
test_endian: fix uint64 check
author
Marko Kreen
<markokr@gmail.com>
Tue, 30 Oct 2012 20:13:33 +0000
(22:13 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Sat, 22 Dec 2012 22:40:44 +0000
(
00:40
+0200)
test/test_endian.c
patch
|
blob
|
blame
|
history
diff --git
a/test/test_endian.c
b/test/test_endian.c
index a16ac3cd4f93090db98aa7f71cd6c94f060ba101..a8cc687e29d373b853c800ce9d3b7818e319ad37 100644
(file)
--- a/
test/test_endian.c
+++ b/
test/test_endian.c
@@
-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:;
}