Skip to content

Commit

Permalink
Fix iosArm32 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
e5l committed May 27, 2022
1 parent ca57cbe commit 91083a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ internal fun Url.toNSUrl(): NSURL {
else -> host.sanitize(NSCharacterSet.URLHostAllowedCharacterSet)
}
if (port != DEFAULT_PORT && port != protocol.defaultPort) {
components.port = NSNumber(port)
components.port = NSNumber(int = port)
}

components.percentEncodedPath = when {
Expand Down

0 comments on commit 91083a0

Please sign in to comment.