unsigned int bytes;
char *str, *p;
int reads, writes;
- enum fio_ddir rw;
+ int rw;
/*
* Read in the read iolog and store it, reuse the infrastructure
INIT_LIST_HEAD(&ipo->list);
ipo->offset = offset;
ipo->len = bytes;
- ipo->ddir = rw;
+ ipo->ddir = (enum fio_ddir) rw;
if (bytes > td->o.max_bs[rw])
td->o.max_bs[rw] = bytes;
list_add_tail(&ipo->list, &td->io_log_list);