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/util/io/PosixShim.java
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ public long lseek(ChannelFD fd, long offset, int type) {
}
} else if (fd.chNative != null) {
// native channel, use native lseek
int ret = posix.lseek(fd.chNative.getFD(), offset, type);
long ret = posix.lseekLong(fd.chNative.getFD(), offset, type);
if (ret == -1) errno = Errno.valueOf(posix.errno());
return ret;
}

0 comments on commit d9090c3

Please sign in to comment.