[gupnp-av] BAD_CAST is for the other direction
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-av] BAD_CAST is for the other direction
- Date: Sun, 9 Dec 2012 20:02:50 +0000 (UTC)
commit 953272f9dfb024089b4db2c78b5ee910e51df7bc
Author: Jens Georg <mail jensge org>
Date: Sun Dec 9 20:39:58 2012 +0100
BAD_CAST is for the other direction
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]