Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_txt
Modified Files:
ecore_txt.c
Log Message:
kwo's ecore cleanup patch
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_txt/ecore_txt.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ecore_txt.c 29 Nov 2004 22:26:32 -0000 1.5
+++ ecore_txt.c 2 Mar 2005 07:06:42 -0000 1.6
@@ -26,7 +26,7 @@
new_txt = malloc(64);
inb = strlen(text);
outb = 64;
- inp = text;
+ inp = (char*)text;
outp = new_txt;
outalloc = 64;
outlen = 0;
@@ -39,7 +39,7 @@
tob = outb;
count = iconv(ic, &inp, &inb, &outp, &outb);
outlen += tob - outb;
- if (count == -1)
+ if (count == (size_t)(-1))
{
if (errno == E2BIG)
{
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs