fix warning: int is not a pointer.
fix warning: object that pointed is const.
Merge pull request #426 from tadd/fix-warning-2

Fix warning again