You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2019/01/04 03:56:24 UTC

[qpid-dispatch] branch master updated: NO-JIRA - Update test_hooks to properly support non 64-bit architectures.

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

tross 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 2327659  NO-JIRA - Update test_hooks to properly support non 64-bit architectures.
2327659 is described below

commit 23276595c963058ca8c3aaa7860b8e74b38f46c0
Author: Ted Ross <tr...@redhat.com>
AuthorDate: Wed Dec 19 18:08:18 2018 -0500

    NO-JIRA - Update test_hooks to properly support non 64-bit architectures.
---
 src/router_core/modules/test_hooks/core_test_hooks.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/router_core/modules/test_hooks/core_test_hooks.c b/src/router_core/modules/test_hooks/core_test_hooks.c
index ed9cc0d..937ac55 100644
--- a/src/router_core/modules/test_hooks/core_test_hooks.c
+++ b/src/router_core/modules/test_hooks/core_test_hooks.c
@@ -482,7 +482,7 @@ struct test_client_t {
     qdr_connection_t          *conn;
     qdrc_client_t             *core_client;
     int                        credit;
-    int64_t                    counter;
+    long                       counter;
 };
 
 static uint64_t _client_on_reply_cb(qdr_core_t    *core,
@@ -511,7 +511,7 @@ static void _client_on_ack_cb(qdr_core_t    *core,
     qd_log(core->log, QD_LOG_TRACE,
            "client test request ack rc=%p d=%"PRIu64,
            request_context, disposition);
-    assert((int64_t)request_context < tc->counter);
+    assert((long) request_context < tc->counter);
 }
 
 static void _client_on_done_cb(qdr_core_t    *core,


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