[Python-checkins] CVS: python/dist/src/Python codecs.c,2.7,2.8

Guido van Rossum python-dev@python.org
Thu, 29 Jun 2000 07:50:18 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory slayer.i.sourceforge.net:/tmp/cvs-serv21351

Modified Files:
	codecs.c 
Log Message:
Change the loop index in normalizestring() to size_t too, to avoid a
warning on Windows.


Index: codecs.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/codecs.c,v
retrieving revision 2.7
retrieving revision 2.8
diff -C2 -r2.7 -r2.8
*** codecs.c	2000/06/28 22:07:35	2.7
--- codecs.c	2000/06/29 14:50:15	2.8
***************
*** 83,87 ****
  PyObject *normalizestring(const char *string)
  {
!     register int i;
      size_t len = strlen(string);
      char *p;
--- 83,87 ----
  PyObject *normalizestring(const char *string)
  {
!     register size_t i;
      size_t len = strlen(string);
      char *p;