ardazishvili / Sota

Editable generator of discrete structures for Godot 4
MIT License
31 stars 2 forks source link

Fix Variant to string constructor ambiguity in macos/ios builds #72

Open HKunogi opened 1 week ago

HKunogi commented 1 week ago

When sending those unsigned long to the stringify function of godot as Variant it will lead to compile error stating an ambiguity as it can't defined which constructor of Variant it should use, happens on macos/ios builds, casting it as uint64_t fixes that and ensure theres always enough space for the value being casted.