PROTON-925: use of UINT32_MAX is breaking some builds. Getting better constants will be part of PROTON-930
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/3c14a0d1 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/3c14a0d1 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/3c14a0d1 Branch: refs/heads/cjansen-cpp-client Commit: 3c14a0d1cf89b988529b98dc10c8f2c17abcdcf3 Parents: 940d843 Author: mgoulish <m...@redhat.com> Authored: Mon Jul 6 11:37:00 2015 -0400 Committer: mgoulish <m...@redhat.com> Committed: Mon Jul 6 11:41:18 2015 -0400 ---------------------------------------------------------------------- proton-c/src/transport/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/3c14a0d1/proton-c/src/transport/transport.c ---------------------------------------------------------------------- diff --git a/proton-c/src/transport/transport.c b/proton-c/src/transport/transport.c index 36eeb00..e5e8276 100644 --- a/proton-c/src/transport/transport.c +++ b/proton-c/src/transport/transport.c @@ -396,7 +396,7 @@ static void pn_transport_initialize(void *object) transport->remote_container = NULL; transport->remote_hostname = NULL; transport->local_max_frame = PN_DEFAULT_MAX_FRAME_SIZE; - transport->remote_max_frame = UINT32_MAX; + transport->remote_max_frame = (uint32_t) 0xffffffff; /* * We set the local limit on channels to 2^15, because --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org