Browse Source

Merge branch 'master' into json-c-0.10

tags/json-c-0.10-20120530
Eric Haszlakiewicz 13 years ago
parent
commit
f22de2c112
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_object.c

+ 1
- 1
json_object.c View File

@@ -463,7 +463,7 @@ static int json_object_double_to_json_string(struct json_object* jso,
int level, int level,
int flags) int flags)
{ {
return sprintbuf(pb, "%lf", jso->o.c_double);
return sprintbuf(pb, "%f", jso->o.c_double);
} }


struct json_object* json_object_new_double(double d) struct json_object* json_object_new_double(double d)


Loading…
Cancel
Save