Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
backgrounds.c
Log Message:
Fix gcc4 warnings.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/backgrounds.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- backgrounds.c 26 Jul 2005 16:58:31 -0000 1.37
+++ backgrounds.c 30 Jul 2005 12:11:21 -0000 1.38
@@ -410,7 +410,8 @@
#endif
static void
-BgFindImageSize(BgPart * bgp, int rw, int rh, int *pw, int *ph)
+BgFindImageSize(BgPart * bgp, unsigned int rw, unsigned int rh,
+ unsigned int *pw, unsigned int *ph)
{
int w, h;
@@ -445,8 +446,8 @@
}
}
- *pw = w;
- *ph = h;
+ *pw = (unsigned int)w;
+ *ph = (unsigned int)h;
}
static void
@@ -532,7 +533,6 @@
{
Pixmap pmap;
GC gc;
-
int rt;
int x, y;
unsigned int w, h, ww, hh;
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs