Fix warnings in gl_generator
Merge pull request #180 from tomaka/fix-warnings

Fix warnings in gl_generator