dunno what's this crazy math, but it overflows on 64 bits... ensure it's unsigned long long...
SVN revision: 42523
This commit is contained in:
parent
98817e4ed3
commit
8e56bad0e6
|
@ -170,7 +170,7 @@ void *alloca (size_t);
|
||||||
|
|
||||||
#define IMG_TOO_BIG(w, h) \
|
#define IMG_TOO_BIG(w, h) \
|
||||||
((((unsigned long long)w) * ((unsigned long long)h)) > \
|
((((unsigned long long)w) * ((unsigned long long)h)) > \
|
||||||
(1 << (29 * (sizeof(void *) / 4))))
|
(1ULL << (29 * (sizeof(void *) / 4))))
|
||||||
|
|
||||||
#ifdef BUILD_SMALL_DITHER_MASK
|
#ifdef BUILD_SMALL_DITHER_MASK
|
||||||
# define DM_TABLE _evas_dither_44
|
# define DM_TABLE _evas_dither_44
|
||||||
|
|
Loading…
Reference in New Issue