diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_strfmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_strfmt.c b/src/lj_strfmt.c index 331d9474..207c544e 100644 --- a/src/lj_strfmt.c +++ b/src/lj_strfmt.c | |||
@@ -393,7 +393,7 @@ GCstr * LJ_FASTCALL lj_strfmt_obj(lua_State *L, cTValue *o) | |||
393 | p = lj_buf_wmem(p, "builtin#", 8); | 393 | p = lj_buf_wmem(p, "builtin#", 8); |
394 | p = lj_strfmt_wint(p, funcV(o)->c.ffid); | 394 | p = lj_strfmt_wint(p, funcV(o)->c.ffid); |
395 | } else { | 395 | } else { |
396 | p = lj_strfmt_wptr(p, lj_obj_ptr(o)); | 396 | p = lj_strfmt_wptr(p, lj_obj_ptr(G(L), o)); |
397 | } | 397 | } |
398 | return lj_str_new(L, buf, (size_t)(p - buf)); | 398 | return lj_str_new(L, buf, (size_t)(p - buf)); |
399 | } | 399 | } |