fix crash related to not support the z length modifier for size_t on vs
Merge pull request #4887 from Dhilan007/develop_crash

fix crash related to not support the z length modifier for size_t on vs