Merge pull request #2 from ossec/master

sync fork
fix gcc Wall warnings seen on travis
Merge pull request #82 from cgzones/Wall2

fix gcc wall warnings seen on travis