fix warning (yes, I'm using -Werror now :)
authorBenjamin Otte <otte@gnome.org>
Mon, 4 Mar 2002 22:01:42 +0000 (22:01 +0000)
committerBenjamin Otte <otte@gnome.org>
Mon, 4 Mar 2002 22:01:42 +0000 (22:01 +0000)
Original commit message from CVS:
fix warning (yes, I'm using -Werror now :)

gst/gstelementfactory.c

index ac11f30..072dc2f 100644 (file)
@@ -224,7 +224,7 @@ gst_elementfactory_create (GstElementFactory *factory,
   g_return_val_if_fail(factory != NULL, NULL);
 
   GST_DEBUG (GST_CAT_ELEMENTFACTORY,"creating element from factory \"%s\" with name \"%s\" and type %d\n", 
-             GST_OBJECT_NAME (factory), name, factory->type);
+             GST_OBJECT_NAME (factory), name, (gint) factory->type);
 
   if (!gst_plugin_feature_ensure_loaded (GST_PLUGIN_FEATURE (factory)))
     return NULL;