Small fix that removes compiler warnings, where a variable is shifted for
more than the size of that viarable. In some cases, this could even cause
hard to find problems because code is compiled into different system
instructions