Skip to content
Snippets Groups Projects
Commit f69a0590c569 authored by Alan Wang's avatar Alan Wang
Browse files

Merge pull request #484 from sappo/master

Problem: WError error on macosx because NAN is a float
Branches
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
{ {
if (!cJSON_IsNumber(item)) if (!cJSON_IsNumber(item))
{ {
return NAN; return (double) NAN;
} }
return item->valuedouble; return item->valuedouble;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment