Unchecked cast: CPointer<UByteVar /* = UByteVarOf<UByte> */>? to CPointer<ByteVar /* = ByteVarOf<Byte> */>

How to remove it

You can suppress this warning with annotation like @Suppress("UNCHECKED_CAST")

1 Like