Hi Frederick,

Could you test this patch for me?

I hope it's simply a typo in the selection of the unsigned macro instead of 
the signed. I can then arrange to include the patch in a -2 upload.

Thanks.

-- 

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

? test-date.c.patch
Index: test-date.c
===================================================================
RCS file: /var/lib/cvs/qof/qof/test/test-date.c,v
retrieving revision 1.10
diff -p -u -b -B -r1.10 test-date.c
--- test-date.c	17 Apr 2006 22:09:15 -0000	1.10
+++ test-date.c	21 Apr 2006 18:42:46 -0000
@@ -61,9 +61,9 @@ check_time (Timespec ts, gboolean always
   if (!ok || always_print)
   {
     fprintf (stderr,
-             "\n%" G_GUINT64_FORMAT ":%" G_GUINT64_FORMAT " -> %s ->\n"
-	     "%" G_GUINT64_FORMAT ":%" G_GUINT64_FORMAT " "
-             "(diff of %" G_GUINT64_FORMAT " secs %" G_GUINT64_FORMAT " 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,
@@ -94,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 %" G_GUINT64_FORMAT ".%09ld seconds\n"
-             "\twas expecting %" G_GUINT64_FORMAT ".%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: pgpylpXW6zQz4.pgp
Description: PGP signature

Reply via email to