summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-01 18:44:53 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-02 00:18:45 -0700
commite3b7e6caa25bffcffe6b04f550f551e1ae086f6b (patch)
tree460e4d59504435411421cf261c5735a726f16942 /src/libsyntax
parentfb77443213d3be1e0c937b6f9e114e0c8c5b2bb5 (diff)
downloadrust-e3b7e6caa25bffcffe6b04f550f551e1ae086f6b.tar.gz
rust-e3b7e6caa25bffcffe6b04f550f551e1ae086f6b.zip
Tweak relese notes + rebase fixes
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/diagnostic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/diagnostic.rs b/src/libsyntax/diagnostic.rs
index c4690b9716c..f35cc8c8d23 100644
--- a/src/libsyntax/diagnostic.rs
+++ b/src/libsyntax/diagnostic.rs
@@ -371,7 +371,7 @@ fn stderr_isatty() -> bool {
 }
 #[cfg(windows)]
 fn stderr_isatty() -> bool {
-    const STD_ERROR_HANDLE: libc::DWORD = -12;
+    const STD_ERROR_HANDLE: libc::DWORD = -12i32 as libc::DWORD;
     extern "system" {
         fn GetStdHandle(which: libc::DWORD) -> libc::HANDLE;
         fn GetConsoleMode(hConsoleHandle: libc::HANDLE,