Enlightenment CVS committal
Author : doursse
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/include
Modified Files:
evas_inline.x
Log Message:
add cast for c++ compilers. Patch from Dmitriy Mazovka
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/include/evas_inline.x,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- evas_inline.x 7 Jul 2008 21:29:29 -0000 1.4
+++ evas_inline.x 17 Jul 2008 07:45:42 -0000 1.5
@@ -10,7 +10,7 @@
unsigned int _tmp_total;
_tmp_total = rects->total + 32;
- _add_rect = realloc(rects->array, sizeof(Evas_Rectangle) * _tmp_total);
+ _add_rect = (Evas_Rectangle *)realloc(rects->array,
sizeof(Evas_Rectangle) * _tmp_total);
if (!_add_rect) return ;
rects->total = _tmp_total;
@@ -32,7 +32,7 @@
if (rects->max < (rects->active + 1))
{
rects->max += 32;
- rects->rects = realloc(rects->rects, sizeof(Cutout_Rect) * rects->max);
+ rects->rects = (Cutout_Rect *)realloc(rects->rects, sizeof(Cutout_Rect)
* rects->max);
}
rect = rects->rects + rects->active;
@@ -67,7 +67,7 @@
if (obj->smart.parent)
{
int par_pass;
-
+
par_pass = evas_event_passes_through(obj->smart.parent);
obj->parent_cache_valid = 1;
obj->parent_pass_events = par_pass;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs