Probably should be size_t, but now matched prototype. (mainly agreed with christos - he wanted size_t....)