diff options
| author | Lua Team <team@lua.org> | 2011-12-07 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2011-12-07 12:00:00 +0000 |
| commit | fc12b5930ac0e8393f43fa7b78829e19a7a1da20 (patch) | |
| tree | 9c44c157e34d6c1d1d2c97ba465b09ecce5d45b0 /src/lauxlib.c | |
| parent | 3a66913821e41b57d0f5e5f464d0b7b35b4cc131 (diff) | |
| download | lua-github-5.2.0-rc6.tar.gz | |
Lua 5.2.0-rc65.2.0-rc6
Diffstat (limited to 'src/lauxlib.c')
| -rw-r--r-- | src/lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lauxlib.c b/src/lauxlib.c index 4c044f9d..0aa80fd9 100644 --- a/src/lauxlib.c +++ b/src/lauxlib.c @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.c,v 1.239 2011/12/02 13:25:57 roberto Exp $ +** $Id: lauxlib.c,v 1.240 2011/12/06 16:33:55 roberto Exp $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -944,7 +944,7 @@ LUALIB_API void luaL_checkversion_ (lua_State *L, lua_Number ver) { if (v != lua_version(NULL)) luaL_error(L, "multiple Lua VMs detected"); else if (*v != ver) - luaL_error(L, "version mismatch: app. needs %d, Lua core provides %f", + luaL_error(L, "version mismatch: app. needs %f, Lua core provides %f", ver, *v); /* check conversions number -> integer types */ lua_pushnumber(L, -(lua_Number)0x1234); |
