diff options
Diffstat (limited to 'ext/dl')
-rw-r--r-- | ext/dl/lib/dl/pack.rb | 2 |
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*)?") |