Skip to content

Commit 64d33b1

Browse files
committed
fix windows specific errno type errors.
1 parent e4a7461 commit 64d33b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libstd/os.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -845,13 +845,13 @@ pub enum MapError {
845845
ErrAlreadyExists,
846846
/// Unrecognized error from `VirtualAlloc`. The inner value is the return
847847
/// value of GetLastError.
848-
ErrVirtualAlloc(uint),
848+
ErrVirtualAlloc(i32),
849849
/// Unrecognized error from `CreateFileMapping`. The inner value is the
850850
/// return value of `GetLastError`.
851-
ErrCreateFileMappingW(uint),
851+
ErrCreateFileMappingW(i32),
852852
/// Unrecognized error from `MapViewOfFile`. The inner value is the return
853853
/// value of `GetLastError`.
854-
ErrMapViewOfFile(uint)
854+
ErrMapViewOfFile(i32)
855855
}
856856

857857
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)