summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-10-13 07:35:25 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-10-13 07:35:25 +0000
commit14ecb602a6fa28a7164d8b53f8ca921f766214b7 (patch)
tree2897be0817105dcb5653ab33e057cc30836a50ec
parentb603c27ea0f5af4075ac32c7320ed24be36a1417 (diff)
downloadgst-plugins-bad-14ecb602a6fa28a7164d8b53f8ca921f766214b7.tar.gz
gst-plugins-bad-14ecb602a6fa28a7164d8b53f8ca921f766214b7.tar.bz2
gst-plugins-bad-14ecb602a6fa28a7164d8b53f8ca921f766214b7.zip
ext/apexsink/gstapexraop.c: Fix format string compiler warnings.
Original commit message from CVS: * ext/apexsink/gstapexraop.c: (gst_apexraop_connect), (gst_apexraop_set_volume): Fix format string compiler warnings.
-rw-r--r--ChangeLog6
-rw-r--r--ext/apexsink/gstapexraop.c9
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 8f77a6f5..4d2a93dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
+ * ext/apexsink/gstapexraop.c: (gst_apexraop_connect),
+ (gst_apexraop_set_volume):
+ Fix format string compiler warnings.
+
2008-10-12 Jan Schmidt <jan.schmidt@sun.com>
* sys/oss4/oss4-mixer.c:
diff --git a/ext/apexsink/gstapexraop.c b/ext/apexsink/gstapexraop.c
index 164a4ccf..42b707ca 100644
--- a/ext/apexsink/gstapexraop.c
+++ b/ext/apexsink/gstapexraop.c
@@ -309,10 +309,11 @@ gst_apexraop_connect (GstApExRAOP * con)
"Client-Instance: %s\r\n"
"User-Agent: %s\r\n"
"Content-Type: application/sdp\r\n"
- "Content-Length: %d\r\n"
+ "Content-Length: %u\r\n"
"Apple-Challenge: %s\r\n",
conn->host,
- conn->url_abspath, ++conn->cseq, conn->cid, conn->ua, strlen (creq), ac);
+ conn->url_abspath, ++conn->cseq, conn->cid, conn->ua,
+ (guint) strlen (creq), ac);
RSA_free (rsa);
g_free (ky);
@@ -523,10 +524,10 @@ gst_apexraop_set_volume (GstApExRAOP * con, const guint volume)
"User-Agent: %s\r\n"
"Session: %s\r\n"
"Content-Type: text/parameters\r\n"
- "Content-Length: %d\r\n",
+ "Content-Length: %u\r\n",
conn->host,
conn->url_abspath,
- ++conn->cseq, conn->cid, conn->ua, conn->session, strlen (creq)
+ ++conn->cseq, conn->cid, conn->ua, conn->session, (guint) strlen (creq)
);
req = g_strconcat (hreq, "\r\n", creq, NULL);