Replace size_t with size_type

* fixes a compiling error with recent clang++
Merge pull request #18 from bastih/master

Fix clang++ compiler error