summaryrefslogtreecommitdiff
path: root/ext/dl
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
commit6ddd56a1308703c4ee26d942e3012531c7f80973 (patch)
treeeecb21ded566d7a1b06ddaa355325b578bcc920c /ext/dl
parent59ffb8a8463e79fac666923e3bf6ac4555b02dbf (diff)
should compare SIZEOF_VOIDP with SIZEOF_LONG_LONG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-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 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*)?")