summaryrefslogtreecommitdiff
path: root/ext/dl/lib/dl/pack.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/lib/dl/pack.rb')
-rw-r--r--ext/dl/lib/dl/pack.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/pack.rb b/ext/dl/lib/dl/pack.rb
index d760edaab5..7fbc802b0f 100644
--- a/ext/dl/lib/dl/pack.rb
+++ b/ext/dl/lib/dl/pack.rb
@@ -79,7 +79,7 @@ module DL
case SIZEOF_VOIDP
when SIZEOF_LONG
ary.pack(@template)
- when SIZEOF_LONG
+ when SIZEOF_LONG_LONG
ary.pack(@template)
else
raise(RuntimeError, "sizeof(void*)?")