diff options
author | Mike Pall <mike> | 2020-09-30 01:31:27 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2020-09-30 01:34:49 +0200 |
commit | e9af1abec542e6f9851ff2368e7f196b6382a44c (patch) | |
tree | 4b6d76732347a402abb43c6efa5ec3e01a4d61f0 /src/lj_strfmt.c | |
parent | e67e2040be693122b54fc83797cdc9eb07221aea (diff) | |
download | luajit-e9af1abec542e6f9851ff2368e7f196b6382a44c.tar.gz luajit-e9af1abec542e6f9851ff2368e7f196b6382a44c.tar.bz2 luajit-e9af1abec542e6f9851ff2368e7f196b6382a44c.zip |
Add support for full-range 64 bit lightuserdata.
Diffstat (limited to 'src/lj_strfmt.c')
-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 | } |