Why do you compare uint32_t with uint32_t through int64_t?