From 5ea8627237ca69fa911996013afbbdd579646406 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 2 May 2005 15:18:17 +0000 Subject: [PATCH] use correct printf format Original commit message from CVS: use correct printf format --- ChangeLog | 5 +++++ tests/old/testsuite/elements/property.h | 2 +- testsuite/elements/property.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 273e0123cb..1a16177863 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-02 Thomas Vander Stichele + + * testsuite/elements/property.h: + use correct printf format + 2005-05-02 Thomas Vander Stichele * docs/gst/tmpl/gstconfig.sgml: diff --git a/tests/old/testsuite/elements/property.h b/tests/old/testsuite/elements/property.h index a1756f1ca0..199b8125b2 100644 --- a/tests/old/testsuite/elements/property.h +++ b/tests/old/testsuite/elements/property.h @@ -10,7 +10,7 @@ property_change_callback (GObject *object, GstObject *orig, GParamSpec *pspec) g_object_get_property (G_OBJECT (orig), pspec->name, &value); /* fix current bug with g_strdup_value_contents not working with gint64 */ if (G_IS_PARAM_SPEC_INT64 (pspec)) - str = g_strdup_printf ("%lld", g_value_get_int64 (&value)); + str = g_strdup_printf ("%" G_GINT64_FORMAT, g_value_get_int64 (&value)); else str = g_strdup_value_contents (&value); g_print ("%s: %s = %s\n", GST_OBJECT_NAME (orig), pspec->name, str); diff --git a/testsuite/elements/property.h b/testsuite/elements/property.h index a1756f1ca0..199b8125b2 100644 --- a/testsuite/elements/property.h +++ b/testsuite/elements/property.h @@ -10,7 +10,7 @@ property_change_callback (GObject *object, GstObject *orig, GParamSpec *pspec) g_object_get_property (G_OBJECT (orig), pspec->name, &value); /* fix current bug with g_strdup_value_contents not working with gint64 */ if (G_IS_PARAM_SPEC_INT64 (pspec)) - str = g_strdup_printf ("%lld", g_value_get_int64 (&value)); + str = g_strdup_printf ("%" G_GINT64_FORMAT, g_value_get_int64 (&value)); else str = g_strdup_value_contents (&value); g_print ("%s: %s = %s\n", GST_OBJECT_NAME (orig), pspec->name, str);