From 55eaf97b47bfba7a65fc890d5ff14fd690a3590a Mon Sep 17 00:00:00 2001 From: caro Date: Thu, 16 Apr 2009 10:41:27 +0000 Subject: [PATCH] fix compilation with c++ compilers (needed for Windows too) patch by Lars Munch git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@40103 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/include/evas_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/include/evas_private.h b/src/lib/include/evas_private.h index efff051..f263eab 100644 --- a/src/lib/include/evas_private.h +++ b/src/lib/include/evas_private.h @@ -85,7 +85,7 @@ MAGIC_CHECK_FAILED(o, t, m) #endif #define NEW_RECT(_r, _x, _y, _w, _h) \ -{(_r) = eina_mempool_alloc(_evas_rectangle_mp, sizeof(Evas_Rectangle)); \ +{(_r) = (Evas_Rectangle *)eina_mempool_alloc(_evas_rectangle_mp, sizeof(Evas_Rectangle)); \ if (_r) \ { \ (_r)->x = (_x); (_r)->y = (_y); \ -- 2.7.4