You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2018/12/20 17:16:36 UTC

[qpid-proton] branch master updated: PROTON-1984: Fix pn_data_inspect test to work on 32 bit machines!

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 6397116  PROTON-1984: Fix pn_data_inspect test to work on 32 bit machines!
6397116 is described below

commit 6397116291fd569ce03025c1b3a135172de3f2a6
Author: Andrew Stitcher <as...@apache.org>
AuthorDate: Thu Dec 20 12:14:06 2018 -0500

    PROTON-1984: Fix pn_data_inspect test to work on 32 bit machines!
---
 c/tests/data_test.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/c/tests/data_test.cpp b/c/tests/data_test.cpp
index 207504a..a15c1b4 100644
--- a/c/tests/data_test.cpp
+++ b/c/tests/data_test.cpp
@@ -92,12 +92,12 @@ TEST_CASE("data_multiple") {
 
   /* Described list with open frame descriptor */
   pn_data_clear(data);
-  pn_data_fill(data, "DL[]", 16);
+  pn_data_fill(data, "DL[]", (uint64_t)16);
   CHECK("@open(16) []" == inspect(data));
 
   /* open frame with some fields */
   pn_data_clear(data);
-  pn_data_fill(data, "DL[SSnI]", 16, "container-1", 0, 965);
+  pn_data_fill(data, "DL[SSnI]", (uint64_t)16, "container-1", 0, 965);
   CHECK("@open(16) [container-id=\"container-1\", channel-max=965]" == inspect(data));
 
   /* Map */


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