Repository: qpid-proton
Updated Branches:
  refs/heads/master cefbf9839 -> 2f8a70a3b


PROTON-765: Fix Ruby's support for 64-bit values on 32-bit systems

Changed NUM2ULONG to NUM2ULL to properly use unsigned long long ints for
64-bit values.


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

Branch: refs/heads/master
Commit: 2f8a70a3bcd1959ef3ef9bd6462aa60757d94c12
Parents: cefbf98
Author: Darryl L. Pierce <[email protected]>
Authored: Mon Dec 8 13:24:43 2014 -0500
Committer: Darryl L. Pierce <[email protected]>
Committed: Mon Dec 8 13:52:08 2014 -0500

----------------------------------------------------------------------
 proton-c/bindings/ruby/ruby.i | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2f8a70a3/proton-c/bindings/ruby/ruby.i
----------------------------------------------------------------------
diff --git a/proton-c/bindings/ruby/ruby.i b/proton-c/bindings/ruby/ruby.i
index 888c64d..61cacb2 100644
--- a/proton-c/bindings/ruby/ruby.i
+++ b/proton-c/bindings/ruby/ruby.i
@@ -184,7 +184,7 @@
 
 %typemap (in) pn_decimal64_t
 {
-  $1 = NUM2ULONG($input);
+  $1 = NUM2ULL($input);
 }
 
 %typemap (out) pn_decimal64_t


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to