Skip to content

Commit c4a1dd9

Browse files
committed
Update ioctl.jl to use int always
1 parent 4236b4c commit c4a1dd9

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
@@ -221,7 +221,7 @@ function ioctl(fd::RawFD, parameter::Int)
221221
r == -1 ? error("ioctl failed: $(Base.Libc.strerror())") : nothing
222222
return ws[]
223223
end
224-
ioctl(s::Base.LibuvStream, parameter) = ioctl(_file_handle(s), parameter)
224+
ioctl(s::Base.LibuvStream, parameter) = ioctl(_file_handle(s), Int(parameter))
225225
ioctl(f::Int, parameter) = ioctl(RawFD(f), parameter)
226226

227227
end

0 commit comments

Comments
 (0)