diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-12-24 18:20:48 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-12-24 18:20:48 +1030 |
commit | a9a14cac7c31d0bf9ea77221a4315f4bed0ab05b (patch) | |
tree | 0be7d2e38649ed45cbf17341da932a18997a5c63 | |
parent | b4f1c4a7bcc306286ada61f6ecf2c78ef4cffa67 (diff) | |
download | lua-cjson-a9a14cac7c31d0bf9ea77221a4315f4bed0ab05b.tar.gz lua-cjson-a9a14cac7c31d0bf9ea77221a4315f4bed0ab05b.tar.bz2 lua-cjson-a9a14cac7c31d0bf9ea77221a4315f4bed0ab05b.zip |
Fix typo in lua_cjson.c
-rw-r--r-- | lua_cjson.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua_cjson.c b/lua_cjson.c index b3c816d..0f6d675 100644 --- a/lua_cjson.c +++ b/lua_cjson.c | |||
@@ -631,7 +631,7 @@ static void json_append_number(lua_State *l, strbuf_t *json, int index, | |||
631 | /* Some platforms may print -nan, just hard code it */ | 631 | /* Some platforms may print -nan, just hard code it */ |
632 | strbuf_append_mem(json, "nan", 3); | 632 | strbuf_append_mem(json, "nan", 3); |
633 | } else { | 633 | } else { |
634 | /* Lowest double printed with %.14g is 21 characters long: | 634 | /* Longest double printed with %.14g is 21 characters long: |
635 | * -1.7976931348623e+308 | 635 | * -1.7976931348623e+308 |
636 | * | 636 | * |
637 | * Use 32 to include the \0, and a few extra just in case.. | 637 | * Use 32 to include the \0, and a few extra just in case.. |