diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/apexsink/gstapexraop.c | 9 |
2 files changed, 11 insertions, 4 deletions
@@ -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); |