mirror of
https://github.com/lua/lua
synced 2024-11-30 00:23:24 +03:00
detail (case '%d' of 'luaO_pushvfstring' should use integers)
This commit is contained in:
parent
1414b7123c
commit
c75cca0559
@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lobject.c,v 2.62 2013/05/02 12:37:24 roberto Exp roberto $
|
||||
** $Id: lobject.c,v 2.63 2013/05/14 15:59:04 roberto Exp roberto $
|
||||
** Some generic functions over Lua objects
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@ -270,7 +270,7 @@ const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) {
|
||||
break;
|
||||
}
|
||||
case 'd': {
|
||||
setnvalue(L->top++, cast_num(va_arg(argp, int)));
|
||||
setivalue(L->top++, va_arg(argp, int));
|
||||
break;
|
||||
}
|
||||
case 'I': {
|
||||
|
Loading…
Reference in New Issue
Block a user