aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Herzog2018-02-10 17:36:57 +0100
committerGitHub2018-02-10 17:36:57 +0100
commit31dd21a8d9c3d30d7347fc30f18cd17a41a9b4bc (patch)
treee184aafaa9a0de905737f81c9dd6971f8085798d
parent68f277477b5a5f3003405e36c6b6853720cb91de (diff)
parent8e39cdd5d532f2ed7d82da971f0a28fa7862b923 (diff)
downloadgodot-31dd21a8d9c3d30d7347fc30f18cd17a41a9b4bc.tar.gz
godot-31dd21a8d9c3d30d7347fc30f18cd17a41a9b4bc.tar.zst
godot-31dd21a8d9c3d30d7347fc30f18cd17a41a9b4bc.zip
-rw-r--r--modules/gdnative/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/SCsub b/modules/gdnative/SCsub
index fd9df2673..acfb83bc1 100644
--- a/modules/gdnative/SCsub
+++ b/modules/gdnative/SCsub
@@ -28,7 +28,7 @@ def _build_gdnative_api_struct_header(api):
'\textern const godot_gdnative_ext_{0}_api_struct *_gdnative_wrapper_{0}_api_struct;'.format(name))
gdnative_api_init_macro.append('\t_gdnative_wrapper_api_struct = options->api_struct;')
- gdnative_api_init_macro.append('\tfor (int i = 0; i < _gdnative_wrapper_api_struct->num_extensions; i++) { ')
+ gdnative_api_init_macro.append('\tfor (unsigned int i = 0; i < _gdnative_wrapper_api_struct->num_extensions; i++) { ')
gdnative_api_init_macro.append('\t\tswitch (_gdnative_wrapper_api_struct->extensions[i]->type) {')
for name in api['extensions']: