diff --git a/src/libstd/os.rs b/src/libstd/os.rs index 9e483a4048e..a39a12bbdcf 100644 --- a/src/libstd/os.rs +++ b/src/libstd/os.rs @@ -845,13 +845,13 @@ pub enum MapError { ErrAlreadyExists, /// Unrecognized error from `VirtualAlloc`. The inner value is the return /// value of GetLastError. - ErrVirtualAlloc(uint), + ErrVirtualAlloc(i32), /// Unrecognized error from `CreateFileMapping`. The inner value is the /// return value of `GetLastError`. - ErrCreateFileMappingW(uint), + ErrCreateFileMappingW(i32), /// Unrecognized error from `MapViewOfFile`. The inner value is the return /// value of `GetLastError`. - ErrMapViewOfFile(uint) + ErrMapViewOfFile(i32) } #[stable(feature = "rust1", since = "1.0.0")]