Restore size_t instead of ulong. ulong will apply on Darwin