Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/epp


Modified Files:
        cppexp.c 


Log Message:
Fix gcc 3.3 compiler warnings.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/epp/cppexp.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- cppexp.c    6 Dec 1999 16:59:44 -0000       1.8
+++ cppexp.c    11 Dec 2003 21:13:50 -0000      1.9
@@ -332,7 +332,7 @@
           unsigned            width = MAX_CHAR_TYPE_SIZE;
           int                 wide_flag = 0;
           int                 max_chars;
-          unsigned char      *ptr = tok_start;
+          char               *ptr = (char*)tok_start;
 
 #ifdef MULTIBYTE_CHARS
           char                token_buffer[MAX_LONG_TYPE_SIZE /
@@ -360,12 +360,12 @@
 
           while (1)
             {
-               if (ptr >= CPP_PWRITTEN(pfile) || (c = *ptr++) == '\'')
+               if (ptr >= (char*)CPP_PWRITTEN(pfile) || (c = *ptr++) == '\'')
                   break;
 
                if (c == '\\')
                  {
-                    c = cpp_parse_escape(pfile, (char **)&ptr);
+                    c = cpp_parse_escape(pfile, &ptr);
                     if (width < HOST_BITS_PER_INT
                         && (unsigned)c >= (unsigned)(1 << width))
                        cpp_pedwarn(pfile,




-------------------------------------------------------
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

Reply via email to