* fix compiler warnings (size_t instead of int).
Suggested updates by xcode.