[gssdp/gssdp_1.0] client: Use proper modifer for ssize_t
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp/gssdp_1.0] client: Use proper modifer for ssize_t
- Date: Sat, 15 Oct 2016 06:58:28 +0000 (UTC)
commit 87c0933e5b15f547832c363d108b10adc8b6ed08
Author: Jens Georg <mail jensge org>
Date: Tue Oct 11 21:19:29 2016 +0200
client: Use proper modifer for ssize_t
Signed-off-by: Jens Georg <mail jensge org>
libgssdp/gssdp-client.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index 32ac231..7355441 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -1303,9 +1303,9 @@ socket_source_cb (GSSDPSocketSource *socket_source, GSSDPClient *client)
#endif
if (bytes >= BUF_SIZE) {
- g_warning ("Received packet of %u bytes, but the maximum "
- "buffer size is %d. Packed dropped.",
- (unsigned int) bytes, BUF_SIZE);
+ g_warning ("Received packet of %" G_GSSIZE_FORMAT " bytes, "
+ "but the maximum buffer size is %d. Packed dropped.",
+ bytes, BUF_SIZE);
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]