diff options
| author | Jormundir <Chaseph@gmail.com> | 2015-02-11 19:00:42 -0800 |
|---|---|---|
| committer | Jormundir <Chaseph@gmail.com> | 2015-02-11 19:00:42 -0800 |
| commit | 64d33b1e986116f7bec03b8f2c91fa925b957fa3 (patch) | |
| tree | ba00eba3471ba73c5a52254125b84bb708d6d666 /src/libstd | |
| parent | e4a74616bf32068a77d76cc2591b3969ea884b9f (diff) | |
| download | rust-64d33b1e986116f7bec03b8f2c91fa925b957fa3.tar.gz rust-64d33b1e986116f7bec03b8f2c91fa925b957fa3.zip | |
fix windows specific errno type errors.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/os.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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")] |
