Hi Frederick,

Try this one instead! (Oops, sent you a patch made against a local copy 
instead of the released source.)

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

--- qof-0.6.4/qof/test/test-date.c	2005-10-23 12:58:18.000000000 +0100
+++ /opt/working/qof/qof/test/test-date.c	2006-04-21 19:40:32.000000000 +0100
@@ -61,8 +61,9 @@ check_time (Timespec ts, gboolean always
   if (!ok || always_print)
   {
     fprintf (stderr,
-             "\n%lld:%lld -> %s ->\n%lld:%lld "
-             "(diff of %lld secs %lld nsecs)\n",
+             "\n%" G_GINT64_FORMAT ":%" G_GINT64_FORMAT " -> %s ->\n"
+	     "%" G_GINT64_FORMAT ":%" G_GINT64_FORMAT " "
+             "(diff of %" G_GINT64_FORMAT " secs %" G_GINT64_FORMAT " nsecs)\n",
              (long long int) ts.tv_sec,
              (long long int) ts.tv_nsec,
              str,
@@ -93,8 +94,8 @@ check_conversion (const char * str, Time
   if ((expected_ts.tv_sec != ts.tv_sec) || (expected_ts.tv_nsec != ts.tv_nsec)) 
   {
     fprintf (stderr, 
-             "\nmis-converted \"%s\" to %lld.%09ld seconds\n"
-             "\twas expecting %lld.%09ld seconds\n", 
+             "\nmis-converted \"%s\" to %" G_GINT64_FORMAT ".%09ld seconds\n"
+             "\twas expecting %" G_GINT64_FORMAT ".%09ld seconds\n", 
              str, ts.tv_sec, ts.tv_nsec, 
              expected_ts.tv_sec, expected_ts.tv_nsec); 
     failure ("misconverted timespec");

Attachment: pgpmnSsHovqOK.pgp
Description: PGP signature

Reply via email to