Fix endless loop due to missing cast

On armv7 bspwm startup hangs during startup
due to a missing cast.