commit 3bae8e047c0f7afd550d8ae5c0c5c2557a4c780e
parent 4f5f2fe36732d7809a4c0e0856cb9aca02e9ce24
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Fri, 5 Feb 2010 17:08:45 -0200
typo (thanks to Gavin)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lobject.c b/lobject.c
@@ -1,5 +1,5 @@
/*
-** $Id: lobject.c,v 2.33 2009/11/19 19:06:52 roberto Exp roberto $
+** $Id: lobject.c,v 2.34 2009/11/26 11:39:20 roberto Exp roberto $
** Some generic functions over Lua objects
** See Copyright Notice in lua.h
*/
@@ -96,7 +96,7 @@ lua_Number luaO_arith (int op, lua_Number v1, lua_Number v2) {
case LUA_OPDIV: return luai_numdiv(NULL, v1, v2);
case LUA_OPMOD: return luai_nummod(NULL, v1, v2);
case LUA_OPPOW: return luai_numpow(NULL, v1, v2);
- case LUA_OPUNM: return luai_numunm(N, v1);
+ case LUA_OPUNM: return luai_numunm(NULL, v1);
default: lua_assert(0); return 0;
}
}