diff --git a/kotlin-native/backend.native/tests/samples/echoServer/src/echoServerMain/kotlin/EchoServer.kt b/kotlin-native/backend.native/tests/samples/echoServer/src/echoServerMain/kotlin/EchoServer.kt index 748c0e3eaf2..c69e690b8ce 100644 --- a/kotlin-native/backend.native/tests/samples/echoServer/src/echoServerMain/kotlin/EchoServer.kt +++ b/kotlin-native/backend.native/tests/samples/echoServer/src/echoServerMain/kotlin/EchoServer.kt @@ -30,6 +30,7 @@ fun main(args: Array) { with(serverAddr) { memset(this.ptr, 0, sockaddr_in.size.convert()) + @OptIn(UnsafeNumber::class) sin_family = AF_INET.convert() sin_port = posix_htons(port).convert() } diff --git a/kotlin-native/backend.native/tests/samples/gradle.properties b/kotlin-native/backend.native/tests/samples/gradle.properties index 9797a2a5ffc..d4e6b3b61ef 100644 --- a/kotlin-native/backend.native/tests/samples/gradle.properties +++ b/kotlin-native/backend.native/tests/samples/gradle.properties @@ -16,6 +16,3 @@ kotlin.native.home=../../dist # Increase memory for in-process compiler execution. org.gradle.jvmargs=-Xmx3g - -# Disable HMPP with metadata until KT-50547 is not fixed -kotlin.mpp.hierarchicalStructureSupport=false \ No newline at end of file