summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2012-12-09 20:39:58 +0100
committerJens Georg <mail@jensge.org>2012-12-09 20:39:58 +0100
commit953272f9dfb024089b4db2c78b5ee910e51df7bc (patch)
treea1664efc995c55f3b352b36782b88f305e127123
parentca4ffbcca3482465fc7daa52ed87ebd0a4f14596 (diff)
downloadgupnp-av-953272f9dfb024089b4db2c78b5ee910e51df7bc.tar.gz
BAD_CAST is for the other direction
-rw-r--r--libgupnp-av/gupnp-didl-lite-object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgupnp-av/gupnp-didl-lite-object.c b/libgupnp-av/gupnp-didl-lite-object.c
index ff6bebf..5e527bc 100644
--- a/libgupnp-av/gupnp-didl-lite-object.c
+++ b/libgupnp-av/gupnp-didl-lite-object.c
@@ -2449,7 +2449,7 @@ gupnp_didl_lite_object_get_xml_string (GUPnPDIDLLiteObject *object)
0,
0);
- ret = g_strndup (BAD_CAST (xmlBufferContent (buffer)),
+ ret = g_strndup ((char *) xmlBufferContent (buffer),
xmlBufferLength (buffer));
xmlBufferFree (buffer);