Fix cpp type mismatch.
Merge pull request #10 from yihuang/master

Fix gcc type mismatch error.