gst/registries/gstxmlregistry.c: Fix warning on OS X. (bug #142957)

Original commit message from CVS:
* gst/registries/gstxmlregistry.c:
(gst_xml_registry_parse_padtemplate): Fix warning on OS X.
(bug #142957)
This commit is contained in:
David Schleef 2004-05-22 20:46:25 +00:00
parent 25c9a7a02c
commit b3dda2995f
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2004-05-22 David Schleef <ds@schleef.org>
* gst/registries/gstxmlregistry.c:
(gst_xml_registry_parse_padtemplate): Fix warning on OS X.
(bug #142957)
2004-05-22 Thomas Vander Stichele <thomas at apestaart dot org> 2004-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac: * configure.ac:

View file

@ -880,8 +880,8 @@ gst_xml_registry_parse_padtemplate (GMarkupParseContext * context,
g_assert (registry->caps == NULL); g_assert (registry->caps == NULL);
registry->caps = gst_caps_from_string (s); registry->caps = gst_caps_from_string (s);
if (registry->caps == NULL) { if (registry->caps == NULL) {
g_critical ("Could not parse caps: length %d, content: %*s\n", text_len, g_critical ("Could not parse caps: length %d, content: %*s\n",
text_len, text); (int) text_len, (int) text_len, text);
} }
g_free (s); g_free (s);
return TRUE; return TRUE;