You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mg...@apache.org on 2015/07/06 17:42:00 UTC

qpid-proton git commit: PROTON-925: use of UINT32_MAX is breaking some builds. Getting better constants will be part of PROTON-930

Repository: qpid-proton
Updated Branches:
  refs/heads/master 940d843f3 -> 3c14a0d1c


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/master
Commit: 3c14a0d1cf89b988529b98dc10c8f2c17abcdcf3
Parents: 940d843
Author: mgoulish <mi...@redhat.com>
Authored: Mon Jul 6 11:37:00 2015 -0400
Committer: mgoulish <mi...@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-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org