qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject qpid-proton git commit: NO-JIRA: Use a better way to get the highest unsigned value
Date Tue, 21 Apr 2015 22:25:25 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master b3bf328fd -> 8c3902e69


NO-JIRA: Use a better way to get the highest unsigned value


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/8c3902e6
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/8c3902e6
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/8c3902e6

Branch: refs/heads/master
Commit: 8c3902e69c273c37a1081dd5346b106861614e8c
Parents: b3bf328
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Tue Apr 21 18:14:29 2015 -0400
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Tue Apr 21 18:14:29 2015 -0400

----------------------------------------------------------------------
 proton-c/include/proton/types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/8c3902e6/proton-c/include/proton/types.h
----------------------------------------------------------------------
diff --git a/proton-c/include/proton/types.h b/proton-c/include/proton/types.h
index 6af2c76..f516b13 100644
--- a/proton-c/include/proton/types.h
+++ b/proton-c/include/proton/types.h
@@ -45,7 +45,7 @@ extern "C" {
 
 typedef int32_t  pn_sequence_t;
 typedef uint32_t pn_millis_t;
-#define PN_MILLIS_MAX -1U
+#define PN_MILLIS_MAX (~0)
 typedef uint32_t pn_seconds_t;
 typedef int64_t  pn_timestamp_t;
 typedef uint32_t pn_char_t;


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


Mime
View raw message