From 64d33b1e986116f7bec03b8f2c91fa925b957fa3 Mon Sep 17 00:00:00 2001 From: Jormundir Date: Wed, 11 Feb 2015 19:00:42 -0800 Subject: [PATCH] fix windows specific errno type errors. --- src/libstd/os.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libstd/os.rs b/src/libstd/os.rs index 9e483a4048e1..a39a12bbdcf8 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")]