forked from old/legacy-imlib2
parent
d3bdadd623
commit
e5a280efc1
|
@ -190,6 +190,6 @@ __hidden void __imlib_SaveImage(ImlibImage *im, const char *file,
|
||||||
|
|
||||||
# define IMAGE_DIMENSIONS_OK(w, h) \
|
# define IMAGE_DIMENSIONS_OK(w, h) \
|
||||||
( ((w) > 0) && ((h) > 0) && \
|
( ((w) > 0) && ((h) > 0) && \
|
||||||
((unsigned long long)(w) * (unsigned long long)(w) <= (1ULL << 29) - 1) )
|
((unsigned long long)(w) * (unsigned long long)(h) <= (1ULL << 29) - 1) )
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue