glib r7019 - in trunk: . glib
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7019 - in trunk: . glib
- Date: Wed, 11 Jun 2008 22:00:06 +0000 (UTC)
Author: matthiasc
Date: Wed Jun 11 22:00:06 2008
New Revision: 7019
URL: http://svn.gnome.org/viewvc/glib?rev=7019&view=rev
Log:
hex, I mean it
Modified:
trunk/ChangeLog
trunk/glib/gtestutils.c
Modified: trunk/glib/gtestutils.c
==============================================================================
--- trunk/glib/gtestutils.c (original)
+++ trunk/glib/gtestutils.c Wed Jun 11 22:00:06 2008
@@ -1245,7 +1245,7 @@
switch (numtype)
{
case 'i': s = g_strdup_printf ("assertion failed (%s): (%.0Lf %s %.0Lf)", expr, arg1, cmp, arg2); break;
- case 'x': s = g_strdup_printf ("assertion failed (%s): (0x%08" G_GUINT64_FORMAT " %s 0x%08" G_GUINT64_FORMAT ")", expr, (guint64) arg1, cmp, (guint64) arg2); break;
+ case 'x': s = g_strdup_printf ("assertion failed (%s): (0x%08" G_GINT64_MODIFIER "x %s 0x%08" G_GINT64_MODIFIER "x)", expr, (guint64) arg1, cmp, (guint64) arg2); break;
case 'f': s = g_strdup_printf ("assertion failed (%s): (%.9Lg %s %.9Lg)", expr, arg1, cmp, arg2); break;
/* ideally use: floats=%.7g double=%.17g */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]