diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-22 13:16:33 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-03-22 13:16:33 +0100 |
commit | 33c2f5fb01b1cb9145751a745cfa2514421fa7b3 (patch) | |
tree | f8c0318f6d50928ee96ed1e8663a0c0c5fce7d3e /gst/mxf/mxftypes.c | |
parent | 010789159d7bf274e11f0b4bec5c66543ad1220f (diff) | |
download | gstreamer-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.c | 4 |
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); |