diff --git a/Sources/SwiftGodot/EntryPoint.swift b/Sources/SwiftGodot/EntryPoint.swift index 9681cb299..49f6eb5f8 100644 --- a/Sources/SwiftGodot/EntryPoint.swift +++ b/Sources/SwiftGodot/EntryPoint.swift @@ -440,7 +440,7 @@ public func initializeSwiftModule ( let initialization = UnsafeMutablePointer (extensionPtr) initialization.pointee.deinitialize = extension_deinitialize initialization.pointee.initialize = extension_initialize - initialization.pointee.minimum_initialization_level = GDExtensionInitialization(minimumInitializationLevel.rawValue) + initialization.pointee.minimum_initialization_level = GDExtensionInitializationLevel(UInt32(minimumInitializationLevel.rawValue)) initialization.pointee.userdata = UnsafeMutableRawPointer(libraryPtr) }