From 6442fecd37914f193f50ef6ae7b0d6e2fdc31ce9 Mon Sep 17 00:00:00 2001 From: Mattias Jansson Date: Wed, 22 Jun 2016 07:48:41 +0200 Subject: [PATCH] unify offset of metatable in GCudata, GCtab and GChead for LJ_GC64 --- src/lj_obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lj_obj.h b/src/lj_obj.h index 25da9455..58507004 100644 --- a/src/lj_obj.h +++ b/src/lj_obj.h @@ -310,7 +310,7 @@ typedef struct GCudata { uint8_t udtype; /* Userdata type. */ uint8_t unused2; GCRef env; /* Should be at same offset in GCfunc. */ - MSize len; /* Size of payload. */ + GCSize len; /* Size of payload. */ GCRef metatable; /* Must be at same offset in GCtab. */ uint32_t align1; /* To force 8 byte alignment of the payload. */ } GCudata;