diff options
| -rw-r--r-- | lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lauxlib.c,v 1.238 2011/11/30 12:58:57 roberto Exp roberto $ | 2 | ** $Id: lauxlib.c,v 1.239 2011/12/02 13:25:57 roberto Exp roberto $ |
| 3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -944,7 +944,7 @@ LUALIB_API void luaL_checkversion_ (lua_State *L, lua_Number ver) { | |||
| 944 | if (v != lua_version(NULL)) | 944 | if (v != lua_version(NULL)) |
| 945 | luaL_error(L, "multiple Lua VMs detected"); | 945 | luaL_error(L, "multiple Lua VMs detected"); |
| 946 | else if (*v != ver) | 946 | else if (*v != ver) |
| 947 | luaL_error(L, "version mismatch: app. needs %d, Lua core provides %f", | 947 | luaL_error(L, "version mismatch: app. needs %f, Lua core provides %f", |
| 948 | ver, *v); | 948 | ver, *v); |
| 949 | /* check conversions number -> integer types */ | 949 | /* check conversions number -> integer types */ |
| 950 | lua_pushnumber(L, -(lua_Number)0x1234); | 950 | lua_pushnumber(L, -(lua_Number)0x1234); |
