fix GCC warnings in golib
Merge pull request #1 from z33ky/master

fix warnings in goblib