changeset 2216 | 82e7da49c26a |
parent 2212 | 6b5da1a2765a |
child 2257 | 7eb31efcfb9b |
2215:1d78579e06c2 | 2216:82e7da49c26a |
---|---|
21 #ifdef __CPLUSPLUS |
21 #ifdef __CPLUSPLUS |
22 extern "C" { |
22 extern "C" { |
23 #endif |
23 #endif |
24 |
24 |
25 /*from big endian to little endian*/ |
25 /*from big endian to little endian*/ |
26 int invert_endianness(int number){ |
26 int invert_endianness(uint32_t number){ |
27 return bswap_32(number); |
27 return bswap_32(number); |
28 } |
28 } |
29 |
29 |
30 #ifdef __CPLUSPLUS |
30 #ifdef __CPLUSPLUS |
31 } |
31 } |