struct json_value uses a double to store floating point values. Have json_create_value_float also take a double (instead of a float) as an argument.
Signed-off-by: Jens Axboe <axboe@fb.com>
-static struct json_value *json_create_value_float(float number)
+static struct json_value *json_create_value_float(double number)
{
struct json_value *value = malloc(sizeof(struct json_value));
{
struct json_value *value = malloc(sizeof(struct json_value));