summaryrefslogtreecommitdiff
path: root/src/lstrlib.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-05-12 09:02:43 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-12 09:02:43 +0200
commitef82425b8828de7c825c6d61e93e6c5a47d84348 (patch)
treec3a91534204a519505dcb00ffcd1176814d9050b /src/lstrlib.js
parent5db1f1f6d5dc1f0e21a0bdf0aae87f3d7aa96fc0 (diff)
parent6a3290116941015ac63cf3857c45247f140fab45 (diff)
downloadfengari-ef82425b8828de7c825c6d61e93e6c5a47d84348.tar.gz
fengari-ef82425b8828de7c825c6d61e93e6c5a47d84348.tar.bz2
fengari-ef82425b8828de7c825c6d61e93e6c5a47d84348.zip
Merge remote-tracking branch 'daurnimator/master'
Diffstat (limited to 'src/lstrlib.js')
-rw-r--r--src/lstrlib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lstrlib.js b/src/lstrlib.js
index 2eb9ff5..9a75b78 100644
--- a/src/lstrlib.js
+++ b/src/lstrlib.js
@@ -449,7 +449,7 @@ const getoption = function(h, fmt) {
case 'H'.charCodeAt(0): r.size = 2; r.opt = KOption.Kuint; return r;
case 'l'.charCodeAt(0): r.size = 8; r.opt = KOption.Kint; return r; // sizeof(long): 8
case 'L'.charCodeAt(0): r.size = 8; r.opt = KOption.Kuint; return r;
- case 'j'.charCodeAt(0): r.size = 4; r.opt = KOption.Kint; return r; // sizeof(lua_Integer): 8
+ case 'j'.charCodeAt(0): r.size = 4; r.opt = KOption.Kint; return r; // sizeof(lua_Integer): 4
case 'J'.charCodeAt(0): r.size = 8; r.opt = KOption.Kuint; return r;
case 'T'.charCodeAt(0): r.size = 8; r.opt = KOption.Kuint; return r; // sizeof(size_t): 8
case 'f'.charCodeAt(0): r.size = 4; r.opt = KOption.Kfloat; return r; // sizeof(float): 4