Revert "use appropriate type for SIZE_MAX"

This reverts commit c3c16dda4a.
This commit is contained in:
homm 2016-06-20 01:02:28 +03:00
parent b4e0ba1d75
commit 09e22422f6

View File

@ -268,7 +268,7 @@ j2k_encode_entry(Imaging im, ImagingCodecState state,
unsigned _overflow_scale_factor;
/* SIZE_MAX is not working in the conditionals unless it's a typed
variable */
size_t _SIZE__MAX = SIZE_MAX;
unsigned _SIZE__MAX = SIZE_MAX;
stream = opj_stream_default_create(OPJ_FALSE);