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.
This commit is contained in:
Sebastian Dröge 2008-10-13 07:35:25 +00:00
parent b603c27ea0
commit 14ecb602a6
2 changed files with 11 additions and 4 deletions

View file

@ -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:

View file

@ -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);