diff --git a/ext/dl/lib/dl/stack.rb b/ext/dl/lib/dl/stack.rb index 93c2d3bbed..9daf089775 100644 --- a/ext/dl/lib/dl/stack.rb +++ b/ext/dl/lib/dl/stack.rb @@ -22,7 +22,7 @@ module DL case SIZEOF_VOIDP when SIZEOF_LONG ary.pack(@template).unpack('l!*') - when SIZEOF_LONG + when SIZEOF_LONG_LONG ary.pack(@template).unpack('q*') else raise(RuntimeError, "sizeof(void*)?")