diff options
Diffstat (limited to 'lib/ffi/struct_layout.rb')
-rw-r--r-- | lib/ffi/struct_layout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffi/struct_layout.rb b/lib/ffi/struct_layout.rb index d5a78a7..3fd68cb 100644 --- a/lib/ffi/struct_layout.rb +++ b/lib/ffi/struct_layout.rb @@ -80,8 +80,8 @@ module FFI class Mapped < Field def initialize(name, offset, type, orig_field) - super(name, offset, type) @orig_field = orig_field + super(name, offset, type) end def get(ptr) |