forked from espressif/esp-mqtt
Previously, uint32_t and size_t were used interchangeably. These types are interchangeable on Xtensa gcc (uint32_t == size_t == unsigned int), but not on most other 32-bit gcc architectures (where uint32_t == unsigned long, size_t == unsigned int).