Using int32_t instead of uint32_t, NULL instead of 0.