summaryrefslogtreecommitdiff
path: root/ext/dl/lib/dl/struct.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/lib/dl/struct.rb')
-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 37cb3b5..db27208 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