[PATCH openEuler-5.10-LTS 069/162] random: make more consistent use of integer types