Keeps signed values out of bit arithmetic (not that there's any issues that could arise from it in these situations, but it does look more consistent, and silences compiler warnings)