purple: fix possible gsize vs. size_t incompatibilty