Using -Wall -Werror

Fixed bug because of that. :)

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>