Skip to content

Commit 1f56c18

Browse files
committed
corrected error in test struct
1 parent f88027a commit 1f56c18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/bridj/StructGenericsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public S getStruct() {
1515
}
1616

1717
public T setStruct( S struct ) {
18-
io.setNativeObjectField(struct, 0, struct);
18+
io.setNativeObjectField(this, 0, struct);
1919
return (T)this;
2020
}
2121
}

0 commit comments

Comments
 (0)