mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-06 14:57:41 +00:00
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:
parent
c8f5d43820
commit
c3261b3120
@ -363,7 +363,7 @@ const char *Process::ResetColor() {
|
|||||||
|
|
||||||
unsigned Process::GetRandomNumber() {
|
unsigned Process::GetRandomNumber() {
|
||||||
unsigned int result;
|
unsigned int result;
|
||||||
const errno_t ec = rand_s(&result);
|
const int ec = rand_s(&result);
|
||||||
assert(ec == 0 && "rand_s failed");
|
assert(ec == 0 && "rand_s failed");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user