expression pattern of type 'Int' cannot match values of type 'uint?' (aka 'Optional<UInt32>') : <p>I am getting below error during Objective-C to Swift code change. Thanks</p>

<pre><code>class func shareLevelUp(toFacebook level: uint, from vc: UIViewController?) {
        let report = GymStatusReport.statusReportForLevel(level)
        switch report.level {
        case 1:
            // something
        case 2:
            // something
        case 3:
            // something
        case 4:
            // something
        default:
            return
        }
}
</code></pre>

<p>expression pattern of type 'Int' cannot match values of type 'uint?' (aka 'Optional')</p>
