Fix sizeof wrong type

This commit is contained in:
Ignacio Etcheverry 2017-10-07 04:22:26 +02:00
parent 9eda9be3cf
commit 5ab3537179

View file

@ -59,7 +59,7 @@ String _find_build_engine_on_unix(const String &p_name) {
"/opt/novell/mono/bin/" "/opt/novell/mono/bin/"
}; };
for (int i = 0; i < sizeof(locations) / sizeof(char); i++) { for (int i = 0; i < sizeof(locations) / sizeof(const char *); i++) {
String location = locations[i]; String location = locations[i];
if (FileAccess::exists(location + p_name)) { if (FileAccess::exists(location + p_name)) {