[Python-checkins] CVS: python/dist/src/Objects unicodeobject.c,2.37,2.38
Sjoerd Mullender
python-dev@python.org
Fri, 7 Jul 2000 02:47:27 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv26903
Modified Files:
unicodeobject.c
Log Message:
Two more places where long should be used instead of int. Especially
true after revision 2.36 was checked in...
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.37
retrieving revision 2.38
diff -C2 -r2.37 -r2.38
*** unicodeobject.c 2000/07/06 20:13:23 2.37
--- unicodeobject.c 2000/07/07 09:47:24 2.38
***************
*** 995,999 ****
static
int unicodeescape_decoding_error(const char **source,
! unsigned int *x,
const char *errors,
const char *details)
--- 995,999 ----
static
int unicodeescape_decoding_error(const char **source,
! unsigned long *x,
const char *errors,
const char *details)
***************
*** 1010,1014 ****
}
else if (strcmp(errors,"replace") == 0) {
! *x = (unsigned int)Py_UNICODE_REPLACEMENT_CHARACTER;
return 0;
}
--- 1010,1014 ----
}
else if (strcmp(errors,"replace") == 0) {
! *x = (unsigned long)Py_UNICODE_REPLACEMENT_CHARACTER;
return 0;
}