Avoid 64-bit "switch()" statements on 32-bit architectures