commit | 6128d0005255902b6062c79ef64cd8ac005dd83d | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Fri Feb 07 12:05:36 2014 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Fri Feb 07 12:05:36 2014 +0000 |
tree | 19f0c56c0f0fa0d06b9bfb525784500b698f8645 | |
parent | b2b3e4bd777927dcfd16514317e5e6b4d3e1962d [diff] |
Try to unbreak the mingw32 build. llvm-svn: 200973
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 @@ 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; }