unsigned and unsigned int are synonyms for historical reasons; they both mean "an unsigned integer of the most natural size for a CPU architecture / platform", which often (but by no means always) is 32 bits on modern platforms.
<stdint.h> is the standard C99 header that should give type definitions for integers of specific sizes, with the uint32_t symbol.
<types.h> that you are viewing looks non-standard and, presumably, belongs to some structure used by your project. Its uint32 typedef is compatible with uint32_t . If you must use one or another code, this is a question for your manager.
Russell Borogove Aug 02 '12 at 21:40 2012-08-02 21:40
source share