Skip to content

Commit 9918219

Browse files
committed
fix posix module pos specialization
1 parent 7a0f409 commit 9918219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/PosixModuleBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ Object open(String pathname, int flags, int fileMode, @SuppressWarnings("unused"
529529
public abstract static class LseekNode extends PythonFileNode {
530530
@Specialization
531531
@TruffleBoundary
532-
Object lseek(int fd, int pos, int how) {
532+
Object lseek(int fd, long pos, int how) {
533533
SeekableByteChannel fc = getFileChannel(fd);
534534
if (fc == null) {
535535
throw raise(OSError, "Illegal seek");

0 commit comments

Comments
 (0)