From 97a7e3affbecc3e8d7edb4bd54bd04c7931d95b4 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Sun, 2 Dec 2012 19:27:25 +0000 Subject: [PATCH] cast to void in delete macro SVN revision: 79986 --- src/bin/e.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \