about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/windows')
-rw-r--r--src/libstd/sys/windows/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/mod.rs b/src/libstd/sys/windows/mod.rs
index 7e4db3d89a3..16c4ae8257c 100644
--- a/src/libstd/sys/windows/mod.rs
+++ b/src/libstd/sys/windows/mod.rs
@@ -53,7 +53,7 @@ fn oom_handler() -> ! {
         // is no need to check the result of GetStdHandle.
         c::WriteFile(c::GetStdHandle(c::STD_ERROR_HANDLE),
                      msg.as_ptr() as c::LPVOID,
-                     msg.len() as DWORD,
+                     msg.len() as c::DWORD,
                      ptr::null_mut(),
                      ptr::null_mut());
         intrinsics::abort();