summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-10-07 04:22:26 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-10-07 04:22:26 +0200
commit5ab3537179a552f8d95e680ec0e35621615248f4 (patch)
tree0d8fcca4a3feb89da94ecd48dc2097efc63d7469 /modules
parent9eda9be3cfee66ad713e57a9adb52278ad9a532e (diff)
Fix sizeof wrong type
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/editor/godotsharp_builds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/editor/godotsharp_builds.cpp b/modules/mono/editor/godotsharp_builds.cpp
index b10f1f87d8..1015c8658d 100644
--- a/modules/mono/editor/godotsharp_builds.cpp
+++ b/modules/mono/editor/godotsharp_builds.cpp
@@ -59,7 +59,7 @@ String _find_build_engine_on_unix(const String &p_name) {
"/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];
if (FileAccess::exists(location + p_name)) {