[p3d] fix size_t is unsigned