Use size_t to avoid warning
Merge pull request #39 from js/fix-warning

Use size_t to avoid warning