kni: prefer uint32_t to unsigned int