r22630 - gnucash/trunk/src/gnome - Fix 64-bit formatting failure

John Ralls jralls at code.gnucash.org
Mon Dec 3 07:48:35 EST 2012


Author: jralls
Date: 2012-12-03 07:48:34 -0500 (Mon, 03 Dec 2012)
New Revision: 22630
Trac: http://svn.gnucash.org/trac/changeset/22630

Modified:
   gnucash/trunk/src/gnome/assistant-acct-period.c
Log:
Fix 64-bit formatting failure

Modified: gnucash/trunk/src/gnome/assistant-acct-period.c
===================================================================
--- gnucash/trunk/src/gnome/assistant-acct-period.c	2012-12-02 02:04:46 UTC (rev 22629)
+++ gnucash/trunk/src/gnome/assistant-acct-period.c	2012-12-03 12:48:34 UTC (rev 22630)
@@ -306,8 +306,8 @@
      * 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 transaction is %lld %s", info->earliest,
-	   gnc_ctime (&info->earliest));
+    PINFO ("Date of earliest transaction is %" G_GINT64_FORMAT " %s",
+	   info->earliest, gnc_ctime (&info->earliest));
 
     /* Display the results */
     str = g_strdup_printf (
@@ -571,7 +571,7 @@
      * and use that to set up the freq spec widget. */
     info->earliest = get_earliest_in_book (gnc_get_current_book());
     info->earliest_str = qof_print_date(info->earliest);
-    PINFO ("date of earliest transaction is %lld %s",
+    PINFO ("date of earliest transaction is %" G_GINT64_FORMAT " %s",
            info->earliest, gnc_ctime (&info->earliest));
 
     g_date_clear (&info->closing_date, 1);



More information about the gnucash-changes mailing list