[WASM] Replace deprecated Char.toInt() with Char.code
This commit is contained in:
@@ -351,7 +351,7 @@ internal fun kotlinShortToExternRefAdapter(x: Short): ExternalInterfaceType =
|
||||
intToExternref(x.toInt())
|
||||
|
||||
internal fun kotlinCharToExternRefAdapter(x: Char): ExternalInterfaceType =
|
||||
intToExternref(x.toInt())
|
||||
intToExternref(x.code)
|
||||
|
||||
internal fun newJsArray(): ExternalInterfaceType =
|
||||
js("[]")
|
||||
|
||||
Reference in New Issue
Block a user