dunno what's this crazy math, but it overflows on 64 bits... ensure it's unsigned long long...

SVN revision: 42523
devs/devilhorns/wayland_egl
Gustavo Sverzut Barbieri 14 years ago
parent 98817e4ed3
commit 8e56bad0e6
  1. 2
      legacy/evas/src/lib/include/evas_common.h

@ -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

Loading…
Cancel
Save