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:
Gustavo Sverzut Barbieri 2009-09-16 19:20:26 +00:00
parent 98817e4ed3
commit 8e56bad0e6
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ void *alloca (size_t);
#define IMG_TOO_BIG(w, h) \
((((unsigned long long)w) * ((unsigned long long)h)) > \
(1 << (29 * (sizeof(void *) / 4))))
(1ULL << (29 * (sizeof(void *) / 4))))
#ifdef BUILD_SMALL_DITHER_MASK
# define DM_TABLE _evas_dither_44