summaryrefslogtreecommitdiffstats
path: root/ext/dl/lib
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-08 13:50:38 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-08 13:50:38 +0000
commitdeeea77dfdf5ec297ea8189a3ec884c9aa99e05d (patch)
treeeecb21ded566d7a1b06ddaa355325b578bcc920c /ext/dl/lib
parent00e55d2e58299848daad517987c257655dd76526 (diff)
downloadruby-deeea77dfdf5ec297ea8189a3ec884c9aa99e05d.tar.gz
ruby-deeea77dfdf5ec297ea8189a3ec884c9aa99e05d.tar.xz
ruby-deeea77dfdf5ec297ea8189a3ec884c9aa99e05d.zip
should compare SIZEOF_VOIDP with SIZEOF_LONG_LONG.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/lib')
-rw-r--r--ext/dl/lib/dl/stack.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/stack.rb b/ext/dl/lib/dl/stack.rb
index 93c2d3bbe..9daf08977 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*)?")