From: Jens Axboe Date: Wed, 24 Oct 2012 12:06:35 +0000 (+0200) Subject: rdma: fixup compile issue X-Git-Tag: fio-2.0.11~43 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=ee88d05666760999be7428beda20f3b24d571d5b;p=fio.git rdma: fixup compile issue Signed-off-by: Jens Axboe --- diff --git a/engines/rdma.c b/engines/rdma.c index 87b061a2..4d81c7da 100644 --- a/engines/rdma.c +++ b/engines/rdma.c @@ -46,6 +46,7 @@ #include #include "../fio.h" +#include "../hash.h" #ifdef FIO_HAVE_RDMA @@ -1212,7 +1213,7 @@ static int fio_rdmaio_setup(struct thread_data *td) rd = malloc(sizeof(*rd));; memset(rd, 0, sizeof(*rd)); - init_rand_seed(&rd->rand_state, GOLDEN_RATIO_PRIME); + init_rand_seed(&rd->rand_state, (unsigned int) GOLDEN_RATIO_PRIME); td->io_ops->data = rd; }