Try to unbreak the mingw32 build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200973 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2014-02-07 12:05:36 +00:00
parent c8f5d43820
commit c3261b3120

View File

@ -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;
}