summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2011-10-03 14:45:27 +0200
committerJens Axboe <axboe@kernel.dk>2011-10-03 14:45:27 +0200
commitddcc0b69aa4ed04c8681f447a1a6274bb8837a14 (patch)
treea1b30e7b4bce73becd9f5d332b5977515a87c571 /stat.h
parenta450e4924ad4ae4a05015e55cb54c78fb0c5015f (diff)
downloadfio-ddcc0b69aa4ed04c8681f447a1a6274bb8837a14.tar.gz
Add type checking to 16/32/64 endianness converters
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stat.h b/stat.h
index 507a76a9..cba87145 100644
--- a/stat.h
+++ b/stat.h
@@ -115,8 +115,8 @@ struct group_run_stats {
struct thread_stat {
char name[FIO_JOBNAME_SIZE];
char verror[FIO_VERROR_SIZE];
- int32_t error;
- int32_t groupid;
+ uint32_t error;
+ uint32_t groupid;
uint32_t pid;
char description[FIO_JOBNAME_SIZE];
uint32_t members;
@@ -163,7 +163,7 @@ struct thread_stat {
*/
uint16_t continue_on_error;
uint64_t total_err_count;
- int32_t first_error;
+ uint32_t first_error;
uint32_t kb_base;
};