diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2024-06-10 22:39:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 09:39:55 +0800 |
commit | c92ecda53337490633c95e6ae00e322dc9ad1fb8 (patch) | |
tree | 47185f92938547b2c70fcf00b02c9acef772ac9c /fpconv.c | |
parent | d20576d5cef3d7aa3b6d62db7aee9d9d5f03cc70 (diff) | |
download | lua-cjson-c92ecda53337490633c95e6ae00e322dc9ad1fb8.tar.gz lua-cjson-c92ecda53337490633c95e6ae00e322dc9ad1fb8.tar.bz2 lua-cjson-c92ecda53337490633c95e6ae00e322dc9ad1fb8.zip |
feature: Lua 5.3 + 5.4 integer support, with CI and conflicts fixed.
Co-Authored-By: Hisham Muhammad <hisham@gobolinux.org>
Co-authored-by: Mark Pulford <mark@kyne.com.au>
Co-authored-by: ichenq <ichenq@gmail.com>
Co-authored-by: Cloud Wu <cloudwu@gmail.com>
Co-authored-by: caijietao <t0350.prog@gmail.com>
Co-authored-by: actboy168 <actboy168@gmail.com>
Co-authored-by: wudeng <wudeng256@gmail.com>
Co-authored-by: caiyiheng <rangercyh@qq.com>
Diffstat (limited to 'fpconv.c')
-rw-r--r-- | fpconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,7 +130,7 @@ double fpconv_strtod(const char *nptr, char **endptr) | |||
130 | /* Duplicate number into buffer */ | 130 | /* Duplicate number into buffer */ |
131 | if (buflen >= FPCONV_G_FMT_BUFSIZE) { | 131 | if (buflen >= FPCONV_G_FMT_BUFSIZE) { |
132 | /* Handle unusually large numbers */ | 132 | /* Handle unusually large numbers */ |
133 | buf = malloc(buflen + 1); | 133 | buf = (char *)malloc(buflen + 1); |
134 | if (!buf) { | 134 | if (!buf) { |
135 | fprintf(stderr, "Out of memory"); | 135 | fprintf(stderr, "Out of memory"); |
136 | abort(); | 136 | abort(); |