Bugfix

build with -Werror and -Wall, fixing a bug in the process