projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ac83dc9
)
parse: fix void * pointer math complaint
author
Jens Axboe
<axboe@fb.com>
Thu, 18 Aug 2016 16:50:33 +0000
(10:50 -0600)
committer
Jens Axboe
<axboe@fb.com>
Thu, 18 Aug 2016 16:50:33 +0000
(10:50 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
parse.h
patch
|
blob
|
blame
|
history
diff --git
a/parse.h
b/parse.h
index d852ddc9292391e02e1239a5afbfedf14265589b..7ba4e37b984bd46b17092acbc0c03d120f0c1f57 100644
(file)
--- a/
parse.h
+++ b/
parse.h
@@
-116,7
+116,7
@@
static inline void *td_var(struct thread_options *to, struct fio_option *o,
else
ret = to;
else
ret = to;
- return ret + offset;
+ return
(char *)
ret + offset;
}
static inline int parse_is_percent(unsigned long long val)
}
static inline int parse_is_percent(unsigned long long val)