summaryrefslogtreecommitdiff
path: root/finance/gnucash/patches/patch-ad
blob: 59cc8aab80219fd2ece3194f9c649579ee443b10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ad,v 1.8 2006/10/23 21:46:39 wiz Exp $

--- src/gnome/druid-acct-period.c.orig	2006-10-08 17:15:14.000000000 +0000
+++ src/gnome/druid-acct-period.c
@@ -334,7 +334,7 @@ ap_show_menu (GnomeDruidPage *druidpage,
    * we may have closed books since last time. */
   info->earliest = get_earliest_in_book (gnc_get_current_book());
   info->earliest_str = qof_print_date(info->earliest); 
-  PINFO ("date of earliest is %ld %s", info->earliest, ctime (&info->earliest));
+  PINFO ("date of earliest is %ld %s", (long)info->earliest, ctime (&info->earliest));
 
   prepare_remarks (info);
 }
@@ -529,7 +529,7 @@ ap_druid_create (AcctPeriodInfo *info)
   info->earliest = get_earliest_in_book (gnc_get_current_book());
   info->earliest_str = qof_print_date(info->earliest); 
   PINFO ("date of earliest transaction is %ld %s", 
-                  info->earliest, ctime (&info->earliest));
+                  (long)info->earliest, ctime (&info->earliest));
 
   g_date_clear (&info->closing_date, 1);
   g_date_set_time_t (&info->closing_date, info->earliest);