client: use temp buffer for client text output
[fio.git] / json.c
diff --git a/json.c b/json.c
index 190fa9e0d73f7a6ffd23cf6c2db93d191c00b3ae..75212c85526544c0f1a9a236086e0fd7900f83ce 100644 (file)
--- a/json.c
+++ b/json.c
@@ -1,6 +1,5 @@
 #include <stdlib.h>
 #include <string.h>
-#include <stdio.h>
 #include <errno.h>
 #include <stdarg.h>
 #include "json.h"
@@ -40,7 +39,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));