Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ext/ffi/StructLayout.java
Original file line number Diff line number Diff line change
@@ -1136,7 +1136,7 @@ public void put(ThreadContext context, StructLayout.Storage cache, Member m, Abs
ptr.getMemoryIO().putMemoryIO(m.offset, mem);

} else if (value instanceof RubyInteger) {
ptr.getMemoryIO().putAddress(m.offset, Util.int64Value(ptr));
ptr.getMemoryIO().putAddress(m.offset, Util.int64Value(value));

} else if (value.isNil()) {
ptr.getMemoryIO().putAddress(m.offset, 0L);

1 comment on commit 4e39894

@heisee
Copy link

@heisee heisee commented on 4e39894 Feb 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uh, this one was hard to find :)
👍

Please sign in to comment.