diff options
Diffstat (limited to 'modules/gdnative/godot/string.h')
-rw-r--r-- | modules/gdnative/godot/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/godot/string.h b/modules/gdnative/godot/string.h index f41626faa1..d691744453 100644 --- a/modules/gdnative/godot/string.h +++ b/modules/gdnative/godot/string.h @@ -37,7 +37,7 @@ extern "C" { #include <stdint.h> #include <wchar.h> -#define GODOT_STRING_SIZE 8 +#define GODOT_STRING_SIZE sizeof(void *) #ifndef GODOT_CORE_API_GODOT_STRING_TYPE_DEFINED #define GODOT_CORE_API_GODOT_STRING_TYPE_DEFINED |