summaryrefslogtreecommitdiff
path: root/platform/iphone/godot_iphone.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/iphone/godot_iphone.cpp')
-rw-r--r--platform/iphone/godot_iphone.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/godot_iphone.cpp b/platform/iphone/godot_iphone.cpp
index db93db5021..992da2818b 100644
--- a/platform/iphone/godot_iphone.cpp
+++ b/platform/iphone/godot_iphone.cpp
@@ -47,7 +47,7 @@ int iphone_main(int, int, int, char **, String);
int iphone_main(int width, int height, int argc, char **argv, String data_dir) {
- int len = strlen(argv[0]);
+ size_t len = strlen(argv[0]);
while (len--) {
if (argv[0][len] == '/') break;