[SP] Correcting types to use uint32_t

Small mistake in last commit where unsigned int was used, when uint32_t
should have been used instead.