projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Signedness warning
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index 52caa4e94627222957f5c46f6a123ac9cc319278..76710e19fba08166902c52cdb8218cda45235928 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-482,9
+482,9
@@
static void cleanup_io_u(struct thread_data *td)
/*
* "randomly" fill the buffer contents
*/
/*
* "randomly" fill the buffer contents
*/
-static void fill_rand_buf(struct io_u *io_u,
unsigned
int max_bs)
+static void fill_rand_buf(struct io_u *io_u, int max_bs)
{
{
-
unsigned
int *ptr = io_u->buf;
+ int *ptr = io_u->buf;
while ((void *) ptr - io_u->buf < max_bs) {
*ptr = rand() * 0x9e370001;
while ((void *) ptr - io_u->buf < max_bs) {
*ptr = rand() * 0x9e370001;