diff --git a/src/bin/e.h b/src/bin/e.h index 919d3fb01..8a06c4ff3 100644 --- a/src/bin/e.h +++ b/src/bin/e.h @@ -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) \