summaryrefslogtreecommitdiff
path: root/ext/dl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl')
-rw-r--r--ext/dl/lib/dl/struct.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/lib/dl/struct.rb b/ext/dl/lib/dl/struct.rb
index 37cb3b5120..db272081da 100644
--- a/ext/dl/lib/dl/struct.rb
+++ b/ext/dl/lib/dl/struct.rb
@@ -98,7 +98,7 @@ module DL
last_offset = offset
align = PackInfo::ALIGN_MAP[type]
- offset = PackInfo.align(last_offset, align) +
+ offset = PackInfo.align(last_offset, align) +
(PackInfo::SIZE_MAP[type] * count)
align