aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Windows/Process.inc
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
commit6128d0005255902b6062c79ef64cd8ac005dd83d (patch)
tree19f0c56c0f0fa0d06b9bfb525784500b698f8645 /llvm/lib/Support/Windows/Process.inc
parentb2b3e4bd777927dcfd16514317e5e6b4d3e1962d (diff)
downloadllvm-6128d0005255902b6062c79ef64cd8ac005dd83d.zip
llvm-6128d0005255902b6062c79ef64cd8ac005dd83d.tar.gz
llvm-6128d0005255902b6062c79ef64cd8ac005dd83d.tar.bz2
Try to unbreak the mingw32 build.
llvm-svn: 200973
Diffstat (limited to 'llvm/lib/Support/Windows/Process.inc')
-rw-r--r--llvm/lib/Support/Windows/Process.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Process.inc b/llvm/lib/Support/Windows/Process.inc
index 16e4092..62b6da0 100644
--- a/llvm/lib/Support/Windows/Process.inc
+++ b/llvm/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;
}