summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/luazlib
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luazlib')
-rw-r--r--Build/source/texk/web2c/luatexdir/luazlib/lgzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luazlib/lgzip.c b/Build/source/texk/web2c/luatexdir/luazlib/lgzip.c
index 9a10e9242b6..a6efceb838a 100644
--- a/Build/source/texk/web2c/luatexdir/luazlib/lgzip.c
+++ b/Build/source/texk/web2c/luatexdir/luazlib/lgzip.c
@@ -59,7 +59,7 @@ static int pushresult (lua_State *L, int i, const char *filename) {
lua_pushfstring(L, "%s: %s", filename, strerror(errno));
else
lua_pushfstring(L, "%s", strerror(errno));
- lua_pushnumber(L, errno);
+ lua_pushinteger(L, errno);
return 3;
}
}
@@ -318,7 +318,7 @@ static int f_seek (lua_State *L) {
if (op == -1)
return pushresult(L, 0, NULL); /* error */
else {
- lua_pushnumber(L, op);
+ lua_pushinteger(L, op);
return 1;
}
}