don't mix up int and size_t (first pass to fix that)
Merge pull request #63 from fotonauts/size_t_64_bits

don't mix up int and size_t (first pass to fix that)