summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8f77a6f59..4d2a93dd1 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 164a4ccfd..42b707caa 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);