executor/converter: Fix conversion of self-containing containers

This commit is contained in:
ZyX
2016-07-12 19:04:12 +03:00
parent ed3115bd26
commit 3fa4ca8188
2 changed files with 20 additions and 9 deletions

View File

@@ -446,7 +446,7 @@ bool nlua_pop_typval(lua_State *lstate, typval_T *ret_tv)
? (void *)mpval.data.d.dict == (void *)(val) \
: (void *)mpval.data.l.list == (void *)(val)) { \
lua_pushvalue(lstate, \
1 - ((int)((kv_size(*mpstack) - backref + 1) * 2))); \
-((int)((kv_size(*mpstack) - backref + 1) * 2))); \
break; \
} \
} \