From d26b8da23c4ceaf1c6c30576fdeddecea9686b14 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Wed, 12 Aug 2009 14:44:22 +0000 Subject: 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 --- qpid/cpp/bindings/qmf/ruby/ruby.i | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qpid/cpp/bindings/qmf/ruby/ruby.i') 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 -- cgit v1.2.1