Merge pull request #12 from zmousm/grnet/master

fix warnings treated as errors, caused by using CFLAGS -Wall -Werror
Silence the remaining warnings