fix compilation with c++ compilers (needed for Windows too)

patch by Lars Munch


SVN revision: 40103
This commit is contained in:
Vincent Torri 2009-04-16 10:41:27 +00:00
parent 994190d144
commit 1893ae93be
1 changed files with 1 additions and 1 deletions

View File

@ -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); \