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);