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
@@ -480,7 +480,7 @@ public boolean equals(Object obj) {

@Override
public int hashCode() {
return 53 * 5 + (int) (this.offset ^ (this.offset >>> 32)) + 37 * type.hashCode();
return 53 * 5 + this.offset + 37 * type.hashCode();
}

/**

0 comments on commit 8310821

Please sign in to comment.