diff options
Diffstat (limited to 'c-api/compat-5.3.c')
-rw-r--r-- | c-api/compat-5.3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c-api/compat-5.3.c b/c-api/compat-5.3.c index 1e985f9..96b38cc 100644 --- a/c-api/compat-5.3.c +++ b/c-api/compat-5.3.c | |||
@@ -546,7 +546,7 @@ COMPAT53_API void lua_seti (lua_State *L, int index, lua_Integer i) { | |||
546 | 546 | ||
547 | 547 | ||
548 | #if !defined(lua_str2number) | 548 | #if !defined(lua_str2number) |
549 | # define lua_str2number(s, p) strtod(s, p) | 549 | # define lua_str2number(s, p) strtod((s), (p)) |
550 | #endif | 550 | #endif |
551 | 551 | ||
552 | COMPAT53_API size_t lua_stringtonumber (lua_State *L, const char *s) { | 552 | COMPAT53_API size_t lua_stringtonumber (lua_State *L, const char *s) { |