[Expat-checkins] expat/lib xmlparse.c,1.31,1.32
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed May 15 08:57:04 2002
Update of /cvsroot/expat/expat/lib
In directory usw-pr-cvs1:/tmp/cvs-serv2993/lib
Modified Files:
xmlparse.c
Log Message:
Add casts to suppress a couple of warnings from MSVC with warning level 4.
Index: xmlparse.c
===================================================================
RCS file: /cvsroot/expat/expat/lib/xmlparse.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** xmlparse.c 26 Apr 2002 04:46:24 -0000 1.31
--- xmlparse.c 15 May 2002 15:56:21 -0000 1.32
***************
*** 1560,1564 ****
const XML_Char *name;
ENTITY *entity;
! XML_Char ch = XmlPredefinedEntityName(enc,
s + enc->minBytesPerChar,
next - enc->minBytesPerChar);
--- 1560,1564 ----
const XML_Char *name;
ENTITY *entity;
! XML_Char ch = (XML_Char) XmlPredefinedEntityName(enc,
s + enc->minBytesPerChar,
next - enc->minBytesPerChar);
***************
*** 3528,3532 ****
const XML_Char *name;
ENTITY *entity;
! XML_Char ch = XmlPredefinedEntityName(enc,
ptr + enc->minBytesPerChar,
next - enc->minBytesPerChar);
--- 3528,3532 ----
const XML_Char *name;
ENTITY *entity;
! XML_Char ch = (XML_Char) XmlPredefinedEntityName(enc,
ptr + enc->minBytesPerChar,
next - enc->minBytesPerChar);