[Expat-checkins] expat/examples outline.c,1.7,1.8

Karl Waclawek kwaclaw at users.sourceforge.net
Fri Apr 14 20:04:07 CEST 2006


Update of /cvsroot/expat/expat/examples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12780

Modified Files:
	outline.c 
Log Message:
Casting away some integer conversion warnings that should not pose a problem.

Index: outline.c
===================================================================
RCS file: /cvsroot/expat/expat/examples/outline.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- outline.c	28 Dec 2005 18:43:36 -0000	1.7
+++ outline.c	14 Apr 2006 18:03:57 -0000	1.8
@@ -86,7 +86,7 @@
     int done;
     int len;
 
-    len = fread(Buff, 1, BUFFSIZE, stdin);
+    len = (int)fread(Buff, 1, BUFFSIZE, stdin);
     if (ferror(stdin)) {
       fprintf(stderr, "Read error\n");
       exit(-1);



More information about the Expat-checkins mailing list