--- libelwix/src/json.c 2018/04/16 14:02:35 1.4.6.1 +++ libelwix/src/json.c 2018/04/16 15:54:17 1.4.6.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: json.c,v 1.4.6.1 2018/04/16 14:02:35 misho Exp $ +* $Id: json.c,v 1.4.6.2 2018/04/16 15:54:17 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -492,7 +492,7 @@ json_token2num(const char *jstr, jtok_t * __restrict t double json_token2dbl(const char *jstr, jtok_t * __restrict tok) { - long ret = 0; + double ret = 0; char *str; str = json_token2str(jstr, tok);