Transaction.c fix for OpenBSD, time_t is not long everywhere

Todd T. Fries todd at flare.fries.net
Thu Mar 27 08:31:46 CST 2003


Index: Transaction.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/engine/Transaction.c,v
retrieving revision 1.261
diff -u -r1.261 Transaction.c
--- Transaction.c	5 Jan 2003 03:46:19 -0000	1.261
+++ Transaction.c	27 Mar 2003 14:30:08 -0000
@@ -2492,7 +2492,7 @@
     check_open(trans);
 
     PINFO ("addr=%p set %d date to %lu %li %s",
-           trans, which, secs, nsecs, ctime (&secs));
+           trans, which, (long unsigned int)secs, nsecs, ctime (&secs));
     
     dadate = ((which == TDATE_POSTED)
               ? &trans->date_posted


More information about the gnucash-patches mailing list