Fixed warning: shift count >= width of type [-Wshift-count-overflow]