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