aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library.js b/src/library.js
index f134e0e6..dcb9c810 100644
--- a/src/library.js
+++ b/src/library.js
@@ -3881,7 +3881,7 @@ LibraryManager.library = {
}
if (!ok) {
___setErrNo(ERRNO_CODES.EINVAL);
- return 0;
+ return [0, 0];
}
try {
@@ -3895,7 +3895,7 @@ LibraryManager.library = {
{{{ makeSetValue('endptr', 0, 'str', '*') }}}
}
- ret = i64Math.result.slice(0);
+ var ret = i64Math.result.slice(0);
return ret;
},