Skip to content

Commit

Permalink
corrected error in test struct
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrimble committed Jan 18, 2017
1 parent f88027a commit 1f56c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/bridj/StructGenericsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public S getStruct() {
}

public T setStruct( S struct ) {
io.setNativeObjectField(struct, 0, struct);
io.setNativeObjectField(this, 0, struct);
return (T)this;
}
}
Expand Down

0 comments on commit 1f56c18

Please sign in to comment.