cast to void in delete macro

SVN revision: 79986
This commit is contained in:
Mike Blumenkrantz 2012-12-02 19:27:25 +00:00
parent d01701d816
commit 97a7e3affb
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ typedef struct _E_Rect E_Rect;
#ifndef MAX
# define MAX(x, y) (((x) > (y)) ? (x) : (y))
#endif
# define E_FN_DEL(_fn, _h) if (_h) { _fn(_h); _h = NULL; }
# define E_FN_DEL(_fn, _h) if (_h) { _fn((void*)_h); _h = NULL; }
# define E_INTERSECTS(x, y, w, h, xx, yy, ww, hh) \
(((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
# define E_INSIDE(x, y, xx, yy, ww, hh) \