summaryrefslogtreecommitdiff
path: root/src/headers/uint32-bswap
blob: 4ba4d9be60032776a19e0abb128de4f9c85ff6c7 (plain)
1
2
#define UINT32_BSWAP(a) (((a) & 0x000000ffu) << 24 | ((a) & 0x0000ff00u) << 8 | ((a) & 0x00ff0000u) >> 8 | ((a) & 0xff000000u) >> 24)