mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-16 02:04:45 +03:00
Revert "use appropriate type for SIZE_MAX"
This reverts commit c3c16dda4a
.
This commit is contained in:
parent
b4e0ba1d75
commit
09e22422f6
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user