Skip to content

Commit 6bc0914

Browse files
committed
Fix FIONBIO type
1 parent 5400c6e commit 6bc0914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/newlib/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ pub const SEEK_SET: ::c_int = 0;
406406
pub const SEEK_CUR: ::c_int = 1;
407407
pub const SEEK_END: ::c_int = 2;
408408

409-
pub const FIONBIO: ::c_int = 1;
409+
pub const FIONBIO: ::c_ulong = 1;
410410
pub const FIOCLEX: ::c_ulong = 0x20006601;
411411

412412
pub const S_BLKSIZE: ::mode_t = 1024;

0 commit comments

Comments
 (0)