warning--, someone double check this cast

SVN revision: 64113
This commit is contained in:
Mike Blumenkrantz 2011-10-16 15:36:26 +00:00
parent d6b9024fcc
commit f480f2a3f6
1 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ typedef struct _E_Rect E_Rect;
{ \
_w += _x - (_cx); \
_x = (_cx); \
if (_w < 0) _w = 0; \
if ((int)_w < 0) _w = 0; \
} \
if ((_x + _w) > ((_cx) + (_cw))) \
_w = (_cx) + (_cw) - _x; \
@ -187,7 +187,7 @@ typedef struct _E_Rect E_Rect;
{ \
_h += _y - (_cy); \
_y = (_cy); \
if (_h < 0) _h = 0; \
if ((int)_h < 0) _h = 0; \
} \
if ((_y + _h) > ((_cy) + (_ch))) \
_h = (_cy) + (_ch) - _y; \