1 #define NO_UINT32_MACROS
4 /* adopted from libowfat 0.9 (GPL) */
6 void uint32_unpack(const char *in,uint32 *out) {
7 *out = (((uint32)(unsigned char)in[3])<<24) |
8 (((uint32)(unsigned char)in[2])<<16) |
9 (((uint32)(unsigned char)in[1])<<8) |
10 (uint32)(unsigned char)in[0];