[Python-checkins] python/nondist/sandbox/datetime datetime.c,1.18,1.19

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Thu, 21 Nov 2002 15:06:42 -0800


Update of /cvsroot/python/python/nondist/sandbox/datetime
In directory sc8-pr-cvs1:/tmp/cvs-serv4270

Modified Files:
	datetime.c 
Log Message:
ord_to_ymd():  changed signature from taking "long int" things to plain
"long"; same thing, but "long int" threw me for a few seconds (I so
rarely see it!).


Index: datetime.c
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/datetime/datetime.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** datetime.c	21 Nov 2002 23:04:00 -0000	1.18
--- datetime.c	21 Nov 2002 23:06:40 -0000	1.19
***************
*** 126,130 ****
  /* ordinal -> year, month, day, considering 01-Jan-0001 as day 1. */
  static void
! ord_to_ymd(long int ordinal, long int *year, long int *month, long int *day)
  {
  	int di400y = days_before_year(401);
--- 126,130 ----
  /* ordinal -> year, month, day, considering 01-Jan-0001 as day 1. */
  static void
! ord_to_ymd(long    ordinal, long *year, long *month, long *day)
  {
  	int di400y = days_before_year(401);