consistently use time_t and size_t
Merge pull request #53 from KiNgMaR/master

consistently use time_t and size_t