diff options
author | Miko Larsson <mikoxyzzz@gmail.com> | 2024-02-22 13:02:23 +0100 |
---|---|---|
committer | Miko Larsson <mikoxyzzz@gmail.com> | 2024-02-22 13:34:15 +0100 |
commit | dcb1f3a975b7551b68ef9c8216a9488a6b490de3 (patch) | |
tree | 9eae32c758c1eecbcd085da42e0d8fcd6fa36845 | |
parent | 72af98b3ea4c6e468d9bd59c840ce4fb75f9f491 (diff) | |
download | fio-dcb1f3a975b7551b68ef9c8216a9488a6b490de3.tar.gz |
options: declare *__val as long long
Fixes CFI as the function signatures will now match with parse.h
Signed-off-by: Miko Larsson <mikoxyzzz@gmail.com>
-rw-r--r-- | options.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -647,7 +647,7 @@ static int fio_clock_source_cb(void *data, const char *str) return 0; } -static int str_rwmix_read_cb(void *data, unsigned long long *val) +static int str_rwmix_read_cb(void *data, long long *val) { struct thread_data *td = cb_data_to_td(data); @@ -656,7 +656,7 @@ static int str_rwmix_read_cb(void *data, unsigned long long *val) return 0; } -static int str_rwmix_write_cb(void *data, unsigned long long *val) +static int str_rwmix_write_cb(void *data, long long *val) { struct thread_data *td = cb_data_to_td(data); @@ -1625,7 +1625,7 @@ static int str_gtod_reduce_cb(void *data, int *il) return 0; } -static int str_offset_cb(void *data, unsigned long long *__val) +static int str_offset_cb(void *data, long long *__val) { struct thread_data *td = cb_data_to_td(data); unsigned long long v = *__val; @@ -1646,7 +1646,7 @@ static int str_offset_cb(void *data, unsigned long long *__val) return 0; } -static int str_offset_increment_cb(void *data, unsigned long long *__val) +static int str_offset_increment_cb(void *data, long long *__val) { struct thread_data *td = cb_data_to_td(data); unsigned long long v = *__val; @@ -1667,7 +1667,7 @@ static int str_offset_increment_cb(void *data, unsigned long long *__val) return 0; } -static int str_size_cb(void *data, unsigned long long *__val) +static int str_size_cb(void *data, long long *__val) { struct thread_data *td = cb_data_to_td(data); unsigned long long v = *__val; @@ -1711,7 +1711,7 @@ static int str_io_size_cb(void *data, unsigned long long *__val) return 0; } -static int str_zoneskip_cb(void *data, unsigned long long *__val) +static int str_zoneskip_cb(void *data, long long *__val) { struct thread_data *td = cb_data_to_td(data); unsigned long long v = *__val; |