Commit aef23cb3 authored by Drew's avatar Drew

Fix more arm32 bug

parent e54ed783
Pipeline #2559 passed with stages
in 4 minutes and 2 seconds
......@@ -63,7 +63,7 @@ public class CarolineCoreEngine : CarolineEngine {
#if os(Linux)
srand(UInt32(time(nil)))
let rand_int = Int(rand())
#elseif arch(arm) //32-bit platforms
#elseif arch(arm) || arch(i386) //32-bit platforms
let rand_int = Int(arc4random() % UInt32(Int32.max))
#else //64-bit platforms
let rand_int = Int(arc4random())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment