title: Cannot convert value of type 'Int' to expected argument type 'UInt32'
body: <p>I am trying to generate a random number in Swift:</p>
  <pre><code>var amountOfQuestions = 2
  var randomNumber = Int(arc4random_uniform(amountOfQuestions - 1)) + 1
  </code></pre>
  <p>but this results in the error:</p>
  <blockquote>
  <p>Cannot convert value of type 'Int' to expected argument type 'UInt32'</p>
  </blockquote>
  <p>What is the problem? Any ideas on what I can do to fix this error?</p>