instead of usigned __int32 you can use uint32_t from  <stdint.h>