katokay
03/07/2025, 4:24 AMfile:///home/runner/work/kotlin-lmdb/kotlin-lmdb/src/nativeMain/kotlin/Env.kt:111:78 Argument type mismatch: actual type is 'kotlin.UShort', but 'kotlin.UInt' was expected.
The project is located at https://github.com/CoreyKaylor/kotlin-lmdb and the failure I'm referring to is here. https://github.com/CoreyKaylor/kotlin-lmdb/actions/runs/13713581077
This seems like a possible bug with the compiler, or am I missing something?Adam S
03/07/2025, 8:53 AMmode.toUShort(8)
, could you try the KN conversion function? Something like mode.toInt().convert...()
https://kotlinlang.org/docs/native-c-interop.html#portability
The type is mdb_mode_t
, which has a conditional typekatokay
03/07/2025, 10:57 AM