]> git.ozlabs.org Git - ccan/blob - ccan/endian/test/compile_ok-constant.c
base64: fix for unsigned chars (e.g. ARM).
[ccan] / ccan / endian / test / compile_ok-constant.c
1 #include <ccan/endian/endian.h>
2
3 struct foo {
4         char one[BSWAP_16(0xFF00)];
5         char two[BSWAP_32(0xFF000000)];
6         char three[BSWAP_64(0xFF00000000000000ULL)];
7 };
8
9 int main(void)
10 {
11         return 0;
12 }