diff options
| author | Ted Ross <tross@apache.org> | 2009-08-12 14:44:22 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-08-12 14:44:22 +0000 |
| commit | d26b8da23c4ceaf1c6c30576fdeddecea9686b14 (patch) | |
| tree | 1812ab7b25c2a65f872e8c36dfe69b285c0fb71e /qpid/cpp/bindings/qmf/ruby/ruby.i | |
| parent | 744b8a6b5d26112f769a7bb3210c2fbe67548529 (diff) | |
| download | qpid-python-d26b8da23c4ceaf1c6c30576fdeddecea9686b14.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@803541 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf/ruby/ruby.i')
| -rw-r--r-- | qpid/cpp/bindings/qmf/ruby/ruby.i | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/bindings/qmf/ruby/ruby.i b/qpid/cpp/bindings/qmf/ruby/ruby.i index cf69e2863a..a8a2a87a97 100644 --- a/qpid/cpp/bindings/qmf/ruby/ruby.i +++ b/qpid/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 |
