getresuid wrapper for changing type sizes.