summaryrefslogtreecommitdiff
path: root/modules/gdnative/godot/node_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdnative/godot/node_path.h')
-rw-r--r--modules/gdnative/godot/node_path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/godot/node_path.h b/modules/gdnative/godot/node_path.h
index 3e2a99e461..2f71ddd59d 100644
--- a/modules/gdnative/godot/node_path.h
+++ b/modules/gdnative/godot/node_path.h
@@ -36,7 +36,7 @@ extern "C" {
#include <stdint.h>
-#define GODOT_NODE_PATH_SIZE 8
+#define GODOT_NODE_PATH_SIZE sizeof(void *)
#ifndef GODOT_CORE_API_GODOT_NODE_PATH_TYPE_DEFINED
#define GODOT_CORE_API_GODOT_NODE_PATH_TYPE_DEFINED