celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From griccia...@apache.org
Subject celix git commit: Fixed printf format in mongoose.c
Date Mon, 12 Sep 2016 11:36:47 GMT
Repository: celix
Updated Branches:
  refs/heads/develop b92649ab5 -> a431d28de


Fixed printf format in mongoose.c


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/a431d28d
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/a431d28d
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/a431d28d

Branch: refs/heads/develop
Commit: a431d28ded4a262f229a655e0fdfb787ef8471da
Parents: b92649a
Author: gricciardi <gricciardi@apache.org>
Authored: Mon Sep 12 13:36:31 2016 +0200
Committer: gricciardi <gricciardi@apache.org>
Committed: Mon Sep 12 13:36:31 2016 +0200

----------------------------------------------------------------------
 examples/mongoose/private/src/mongoose.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/a431d28d/examples/mongoose/private/src/mongoose.c
----------------------------------------------------------------------
diff --git a/examples/mongoose/private/src/mongoose.c b/examples/mongoose/private/src/mongoose.c
index 4397b94..1a1f87c 100644
--- a/examples/mongoose/private/src/mongoose.c
+++ b/examples/mongoose/private/src/mongoose.c
@@ -1315,7 +1315,7 @@ int mg_read(struct mg_connection *conn, void *buf, size_t len) {
 
   assert(conn->content_len >= conn->consumed_content);
   DEBUG_TRACE(("%p %zu %ld %ld", buf, len,
-               conn->content_len, conn->consumed_content));
+               (long)conn->content_len, (long)conn->consumed_content));
   nread = 0;
   if (strcmp(conn->request_info.request_method, "POST") == 0 &&
       conn->consumed_content < conn->content_len) {


Mime
View raw message