This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 380a53c  DISPATCH-2003: Memory usage as uint32 underreports larger 
sizes
380a53c is described below

commit 380a53c0084a6164912290ec9fb5c675cbf28e52
Author: Chuck Rolke <c...@apache.org>
AuthorDate: Tue Mar 16 17:03:17 2021 -0400

    DISPATCH-2003: Memory usage as uint32 underreports larger sizes
---
 src/router_core/agent_router.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/router_core/agent_router.c b/src/router_core/agent_router.c
index 33d544a..7d83eac 100644
--- a/src/router_core/agent_router.c
+++ b/src/router_core/agent_router.c
@@ -246,7 +246,7 @@ static void qdr_agent_write_column_CT(qd_composed_field_t 
*body, int col, qdr_co
         break;
 
     case QDR_ROUTER_MEMORY_USAGE: {
-        uint32_t size = qd_router_memory_usage();
+        uint64_t size = qd_router_memory_usage();
         if (size)
             qd_compose_insert_ulong(body, size);
         else  // memory usage not available


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to