summaryrefslogtreecommitdiff
path: root/gst/mxf/mxftypes.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-22 13:16:33 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-22 13:16:33 +0100
commit33c2f5fb01b1cb9145751a745cfa2514421fa7b3 (patch)
treef8c0318f6d50928ee96ed1e8663a0c0c5fce7d3e /gst/mxf/mxftypes.c
parent010789159d7bf274e11f0b4bec5c66543ad1220f (diff)
downloadgstreamer-plugins-bad-33c2f5fb01b1cb9145751a745cfa2514421fa7b3.tar.gz
Add -Wwrite-strings
and fix its warnings
Diffstat (limited to 'gst/mxf/mxftypes.c')
-rw-r--r--gst/mxf/mxftypes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mxf/mxftypes.c b/gst/mxf/mxftypes.c
index e678da63c..6fcfdeb1e 100644
--- a/gst/mxf/mxftypes.c
+++ b/gst/mxf/mxftypes.c
@@ -645,8 +645,8 @@ mxf_utf8_to_utf16 (const gchar * str, guint16 * size)
}
ret = (guint8 *)
- g_convert_with_fallback (str, -1, "UTF-16BE", "UTF-8", "*", NULL, &s,
- &error);
+ g_convert_with_fallback (str, -1, "UTF-16BE", "UTF-8", (char *) "*", NULL,
+ &s, &error);
if (ret == NULL) {
GST_WARNING ("UTF-16-BE to UTF-8 conversion failed: %s", error->message);