Fix a bug that assumes size_t can be negative.
Merge pull request #8 from rui314/sizet

Fix a bug that assumes size_t can be negative.