Fix 'const type qualifier' warnings on GCC -Wextra
Merge pull request #11 from Cloudef/master

Fix 'const type qualifier' warnings on GCC -Wextra