typo in comment + formatting + logical 'and' was written as a bitwise
operation (makes code more fragile)
This commit is contained in:
Roberto I
2025-12-23 14:44:06 -03:00
parent a5522f06d2
commit 578ae5745c
3 changed files with 3 additions and 3 deletions

2
lapi.c
View File

@@ -366,7 +366,7 @@ LUA_API int lua_compare (lua_State *L, int index1, int index2, int op) {
}
LUA_API unsigned (lua_numbertocstring) (lua_State *L, int idx, char *buff) {
LUA_API unsigned lua_numbertocstring (lua_State *L, int idx, char *buff) {
const TValue *o = index2value(L, idx);
if (ttisnumber(o)) {
unsigned len = luaO_tostringbuff(o, buff);