projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6b9024
)
warning--, someone double check this cast
author
Mike Blumenkrantz
<michael.blumenkrantz@gmail.com>
Sun, 16 Oct 2011 15:36:26 +0000
(15:36 +0000)
committer
Mike Blumenkrantz
<michael.blumenkrantz@gmail.com>
Sun, 16 Oct 2011 15:36:26 +0000
(15:36 +0000)
SVN revision: 64113
src/bin/e.h
patch
|
blob
|
history
diff --git
a/src/bin/e.h
b/src/bin/e.h
index
c496de4
..
f7b07f6
100644
(file)
--- a/
src/bin/e.h
+++ b/
src/bin/e.h
@@
-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; \