From 14ecb602a6fa28a7164d8b53f8ca921f766214b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 13 Oct 2008 07:35:25 +0000 Subject: 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. --- ChangeLog | 6 ++++++ ext/apexsink/gstapexraop.c | 9 +++++---- 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 + + * ext/apexsink/gstapexraop.c: (gst_apexraop_connect), + (gst_apexraop_set_volume): + Fix format string compiler warnings. + 2008-10-12 Jan Schmidt * 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); -- cgit v1.2.1