From c3261b3120f15d33711871f86e25005a4075448b Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 7 Feb 2014 12:05:36 +0000 Subject: [PATCH] Try to unbreak the mingw32 build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200973 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Windows/Process.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Support/Windows/Process.inc b/lib/Support/Windows/Process.inc index 16e4092e9fa..62b6da0cb1b 100644 --- a/lib/Support/Windows/Process.inc +++ b/lib/Support/Windows/Process.inc @@ -363,7 +363,7 @@ const char *Process::ResetColor() { unsigned Process::GetRandomNumber() { unsigned int result; - const errno_t ec = rand_s(&result); + const int ec = rand_s(&result); assert(ec == 0 && "rand_s failed"); return result; }