diff options
author | Jens Georg <mail@jensge.org> | 2012-12-09 20:39:58 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2012-12-09 20:39:58 +0100 |
commit | 953272f9dfb024089b4db2c78b5ee910e51df7bc (patch) | |
tree | a1664efc995c55f3b352b36782b88f305e127123 | |
parent | ca4ffbcca3482465fc7daa52ed87ebd0a4f14596 (diff) | |
download | gupnp-av-953272f9dfb024089b4db2c78b5ee910e51df7bc.tar.gz |
BAD_CAST is for the other direction
-rw-r--r-- | libgupnp-av/gupnp-didl-lite-object.c | 2 |
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); |