Wrapped C enum raw values in explicit width conversions throughout the PlayDate binding target.
This commit is contained in:
@@ -32,7 +32,7 @@ extension Lua {
|
||||
case thread = 7
|
||||
case object = 8
|
||||
|
||||
init(_ type: LuaType) { self = Kind(rawValue: type.rawValue) ?? .nil }
|
||||
init(_ type: LuaType) { self = Kind(rawValue: UInt32(type.rawValue)) ?? .nil }
|
||||
}
|
||||
|
||||
/// A constant published on a registered class.
|
||||
|
||||
Reference in New Issue
Block a user