[Expat-checkins] expat/xmlwf codepage.c,1.9,1.10
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed May 15 08:58:04 2002
Update of /cvsroot/expat/expat/xmlwf
In directory usw-pr-cvs1:/tmp/cvs-serv3425/xmlwf
Modified Files:
codepage.c
Log Message:
Add casts to suppress a couple of warnings from MSVC with warning level 4.
Index: codepage.c
===================================================================
RCS file: /cvsroot/expat/expat/xmlwf/codepage.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** codepage.c 21 Sep 2000 21:20:18 -0000 1.9
--- codepage.c 15 May 2002 15:57:22 -0000 1.10
***************
*** 32,36 ****
for (i = 0; i < 256; i++) {
if (map[i] == -1) {
! char c = i;
unsigned short n;
if (MultiByteToWideChar(cp, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS,
--- 32,36 ----
for (i = 0; i < 256; i++) {
if (map[i] == -1) {
! char c = (char)i;
unsigned short n;
if (MultiByteToWideChar(cp, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS,