[Python-checkins] CVS: python/dist/src/Modules unicodedata.c,2.12,2.13
Fred L. Drake
fdrake@users.sourceforge.net
Thu, 19 Jul 2001 14:11:15 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv13300
Modified Files:
unicodedata.c
Log Message:
Kill a warning on the SGI compiler.
This is part of SF patch #434992.
Index: unicodedata.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/unicodedata.c,v
retrieving revision 2.12
retrieving revision 2.13
diff -C2 -r2.12 -r2.13
*** unicodedata.c 2001/03/03 19:41:55 2.12
--- unicodedata.c 2001/07/19 21:11:13 2.13
***************
*** 283,287 ****
unsigned char* w;
! if (code < 0 || code >= 65536)
return 0;
--- 283,287 ----
unsigned char* w;
! if (code >= 65536)
return 0;