diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-10-24 09:58:47 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-10-24 09:58:47 -0700 |
commit | e3b1ac2c83c94f3303d3b4504ef458ed24d6992a (patch) | |
tree | d7f4b0b16de2fa4166730077e805a565bb69590a /src | |
parent | 7b285449c3e67e3fc9e63df27389011540c46c8f (diff) | |
download | teliva-e3b1ac2c83c94f3303d3b4504ef458ed24d6992a.tar.gz |
mildly less confusing
Diffstat (limited to 'src')
-rw-r--r-- | src/lstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lstate.c b/src/lstate.c index ee088be..94f51c7 100644 --- a/src/lstate.c +++ b/src/lstate.c @@ -141,7 +141,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { void *l = (*f)(ud, NULL, 0, sizeof(LG)); if (l == NULL) return NULL; L = cast(lua_State*, l); - g = &cast(LG *, L)->g; + g = &cast(LG *, l)->g; L->next = NULL; L->tt = LUA_TTHREAD; g->currentwhite = bit2mask(WHITE0BIT, FIXEDBIT); |