You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/11/22 01:17:23 UTC
[24/27] incubator-mynewt-core git commit: oic;
use %zu when printing size_t.
oic; use %zu when printing size_t.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/97b87d93
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/97b87d93
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/97b87d93
Branch: refs/heads/develop
Commit: 97b87d93185b1df08976a04d9c46a81b6f886cb9
Parents: e6179b5
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Mon Nov 21 11:27:18 2016 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Mon Nov 21 17:15:49 2016 -0800
----------------------------------------------------------------------
net/oic/src/port/mynewt/serial_adaptor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/97b87d93/net/oic/src/port/mynewt/serial_adaptor.c
----------------------------------------------------------------------
diff --git a/net/oic/src/port/mynewt/serial_adaptor.c b/net/oic/src/port/mynewt/serial_adaptor.c
index ef8f4b0..be807d3 100644
--- a/net/oic/src/port/mynewt/serial_adaptor.c
+++ b/net/oic/src/port/mynewt/serial_adaptor.c
@@ -102,7 +102,7 @@ oc_send_buffer_serial(oc_message_t *message)
goto err;
}
- LOG("oc_transport_serial: send buffer %lu\n", message->length);
+ LOG("oc_transport_serial: send buffer %zu\n", message->length);
err:
oc_message_unref(message);
@@ -157,7 +157,7 @@ oc_attempt_rx_serial(void) {
message->endpoint.flags = SERIAL;
message->length = pkt->omp_len;
- LOG("Successfully rx length %lu\n", message->length);
+ LOG("Successfully rx length %zu\n", message->length);
return message;
/* add the addr info to the message */