diff --git a/cJSON.c b/cJSON.c index 23ed4fd2a8559c37e3b4a57aa19b906369c6c1c0_Y0pTT04uYw==..f69a0590c5697030c12ccc78a6aa9b4d5d1315d0_Y0pTT04uYw== 100644 --- a/cJSON.c +++ b/cJSON.c @@ -106,7 +106,7 @@ { if (!cJSON_IsNumber(item)) { - return NAN; + return (double) NAN; } return item->valuedouble;