Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/eesh
Modified Files:
comms.c
Log Message:
Fix gcc 3.3 compiler warnings.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/eesh/comms.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- comms.c 5 Nov 2003 17:24:40 -0000 1.6
+++ comms.c 11 Dec 2003 21:13:50 -0000 1.7
@@ -54,7 +54,7 @@
if (s)
{
comms_win = 0;
- sscanf((char *)s, "%*s %x", (unsigned int *)&comms_win);
+ sscanf((char *)s, "%*s %lx", &comms_win);
XFree(s);
}
else
@@ -140,7 +140,7 @@
s2[i] = ev->xclient.data.b[i];
for (i = 0; i < 12; i++)
s[i] = ev->xclient.data.b[i + 8];
- sscanf(s2, "%x", (int *)&win);
+ sscanf(s2, "%lx", &win);
cl = (Client *) FindItem(NULL, win, LIST_FINDBY_ID, LIST_TYPE_CLIENT);
if (!cl)
{
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs