Fix endless loop due to missing cast

On armv7 bspwm startup hangs during startup
due to a missing cast.
Merge pull request #102 from sahne/master

Fix endless loop due to missing cast