summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf/ruby/ruby.i
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2009-08-12 14:44:22 +0000
committerTed Ross <tross@apache.org>2009-08-12 14:44:22 +0000
commitd36b8a4051e96370642a38993b0b89af1db9ce7c (patch)
tree66601a6ea507b5820e12b740f5461140010da68a /cpp/bindings/qmf/ruby/ruby.i
parentd1a7d5ba3ea2e75d86d88607f727603a3b1b50c8 (diff)
downloadqpid-python-d36b8a4051e96370642a38993b0b89af1db9ce7c.tar.gz
Fixed a bug where Ruby/C number conversions failed on 32-bit architectures.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803541 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf/ruby/ruby.i')
-rw-r--r--cpp/bindings/qmf/ruby/ruby.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/bindings/qmf/ruby/ruby.i b/cpp/bindings/qmf/ruby/ruby.i
index cf69e2863a..a8a2a87a97 100644
--- a/cpp/bindings/qmf/ruby/ruby.i
+++ b/cpp/bindings/qmf/ruby/ruby.i
@@ -33,7 +33,7 @@
%typemap (in) uint16_t
{
- $1 = FIX2UINT ($input);
+ $1 = NUM2UINT ($input);
}
%typemap (out) uint16_t
@@ -43,7 +43,7 @@
%typemap (in) uint32_t
{
- $1 = FIX2UINT ($input);
+ $1 = NUM2UINT ($input);
}
%typemap (out) uint32_t
@@ -57,7 +57,7 @@
%typemap (in) uint64_t
{
- $1 = FIX2ULONG ($input);
+ $1 = NUM2ULONG ($input);
}
%typemap (out) uint64_t