From: Enlightenment S. <no-...@en...> - 2009-04-16 10:41:38
|
Log: fix compilation with c++ compilers (needed for Windows too) patch by Lars Munch Author: caro Date: 2009-04-16 03:41:27 -0700 (Thu, 16 Apr 2009) New Revision: 40103 Modified: trunk/evas/src/lib/include/evas_private.h Modified: trunk/evas/src/lib/include/evas_private.h =================================================================== --- trunk/evas/src/lib/include/evas_private.h 2009-04-16 08:10:35 UTC (rev 40102) +++ trunk/evas/src/lib/include/evas_private.h 2009-04-16 10:41:27 UTC (rev 40103) @@ -85,7 +85,7 @@ #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); \ |