Skip to content

Commit 5768372

Browse files
Always pass in Cint to (#26)
1 parent c76a6d4 commit 5768372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ioctl.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ function ioctl(fd::Cint, request::Integer, arg)
3333
end
3434

3535
ioctl(f::Union{Base.Filesystem.File, IOStream}, request::Integer, arg) =
36-
ioctl(fd(f), request, arg)
36+
ioctl(Cint(fd(f)), request, arg)
3737

0 commit comments

Comments
 (0)