I was wondering what is the difference between uint32_t and uint32, and when I looked in the header files it had this:
uint32_t
uint32
types.h:
There is no difference.
unsigned int = uint32 = uint32_t = unsigned in your case and unsigned int = unsigned always
unsigned int = uint32 = uint32_t = unsigned
unsigned int = unsigned