use type double in creating floating point JSON values
[fio.git] / json.c
diff --git a/json.c b/json.c
index 190fa9e0d73f7a6ffd23cf6c2db93d191c00b3ae..e0227ec6446bdfafe678dee39583109fe461fe7d 100644 (file)
--- a/json.c
+++ b/json.c
@@ -40,7 +40,7 @@ static struct json_value *json_create_value_int(long long number)
        return value;
 }
 
-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));