summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorBruce Cran <bcran@fusionio.com>2014-04-03 12:17:00 -0600
committerJens Axboe <axboe@fb.com>2014-04-03 12:22:35 -0600
commitee2e5717d1df0c37279eb94876777ee43d403e58 (patch)
tree77285465c2c8bb2153709fc323b231f93fe4f50f /json.h
parentf75c69a1e26166b5c205c6d4c0a6a9412ee6cd86 (diff)
downloadfio-ee2e5717d1df0c37279eb94876777ee43d403e58.tar.gz
fio-ee2e5717d1df0c37279eb94876777ee43d403e58.tar.bz2
Fix JSON_INTEGER overflow on Windows by changing datatype to 'long long'
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'json.h')
-rw-r--r--json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.h b/json.h
index 2a798ceb..081afd6c 100644
--- a/json.h
+++ b/json.h
@@ -14,7 +14,7 @@ struct json_pair;
struct json_value {
int type;
union {
- long integer_number;
+ long long integer_number;
double float_number;
char *string;
struct json_object *object;