Skip to content

Commit

Permalink
Specify type for strict vararg platforms
Browse files Browse the repository at this point in the history
This fix is primarily to get this function working on Apple M1.
  • Loading branch information
headius committed Jan 5, 2022
1 parent 73813cc commit 99c3b56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/jnr/posix/LibC.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public interface LibCSignalHandler {
int flock(int fd, int mode);
int unlink(CharSequence path);
@Variadic(fixedCount = 2)
int open(CharSequence path, int flags, int perm);
int open(CharSequence path, int flags, @u_int32_t int perm);
int pipe(@Out int[] fds);
int truncate(CharSequence path, long length);
int ftruncate(int fd, long offset);
Expand Down

0 comments on commit 99c3b56

Please sign in to comment.