summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-02-07 12:05:36 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-02-07 12:05:36 +0000
commitc3261b3120f15d33711871f86e25005a4075448b (patch)
tree3469aa68c2bfc78bb000078d30ca2a001a339a8b /lib
parentc8f5d438208fefc4f45034ba748861cf68a5911d (diff)
Try to unbreak the mingw32 build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Support/Windows/Process.inc2
1 files changed, 1 insertions, 1 deletions
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;
}