[Python-checkins] python/dist/src/Modules datetimemodule.c,1.29,1.30

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Fri, 03 Jan 2003 17:02:27 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv4692/Modules

Modified Files:
	datetimemodule.c 
Log Message:
Fix compiler warning

Index: datetimemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/datetimemodule.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** datetimemodule.c	4 Jan 2003 00:26:59 -0000	1.29
--- datetimemodule.c	4 Jan 2003 01:02:25 -0000	1.30
***************
*** 684,688 ****
  	if (result < -1439 || result > 1439) {
  		PyErr_Format(PyExc_ValueError,
! 			     "tzinfo.%s() returned %ld; must be in "
  			     "-1439 .. 1439",
  			     name, result);
--- 684,688 ----
  	if (result < -1439 || result > 1439) {
  		PyErr_Format(PyExc_ValueError,
! 			     "tzinfo.%s() returned %d; must be in "
  			     "-1439 .. 1439",
  			     name, result);