[Python-checkins] python/dist/src/Modules/cjkcodecs _codecs_iso2022.c, 1.1, 1.2

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Sun Jul 18 06:34:35 CEST 2004


Update of /cvsroot/python/python/dist/src/Modules/cjkcodecs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20101/Modules/cjkcodecs

Modified Files:
	_codecs_iso2022.c 
Log Message:
Repair MS compiler warning about signed-vs-unsigned mismatch.  The plane
and width clearly don't need to be signed.


Index: _codecs_iso2022.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cjkcodecs/_codecs_iso2022.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** _codecs_iso2022.c	18 Jul 2004 03:06:27 -0000	1.1
--- _codecs_iso2022.c	18 Jul 2004 04:34:33 -0000	1.2
***************
*** 109,114 ****
  struct iso2022_designation {
  	unsigned char mark;
! 	char plane;
! 	char width;
  	iso2022_init_func initializer;
  	iso2022_decode_func decoder;
--- 109,114 ----
  struct iso2022_designation {
  	unsigned char mark;
! 	unsigned char plane;
! 	unsigned char width;
  	iso2022_init_func initializer;
  	iso2022_decode_func decoder;



More information about the Python-checkins mailing list