Cast input argument for json_object_add_value_int to long long
authorPuthikorn Voravootivat <puthik@chromium.org>
Tue, 24 Jun 2014 22:59:53 +0000 (15:59 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 25 Jun 2014 01:31:22 +0000 (19:31 -0600)
commita606a802173272002e37be6475802be8c37481d6
tree3474fa7336eb53fa1f9b4409479735b820322d33
parent31538d8744bba70f29623c547a2dbab3a1dcdd9a
Cast input argument for json_object_add_value_int to long long

The latency related (and some other) variables type is uint32_t
but the JSON integer type is long long. So we need to cast
the numbers to long long type to make JSON output correctly.

Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
json.h