From: Jens Axboe Date: Wed, 15 Oct 2014 14:51:43 +0000 (-0600) Subject: engines/net: get rid of conversion warning on clang/OSX X-Git-Tag: fio-2.1.14~51 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=e341a7f0955e04694e339a162621fe90dd8d91ff engines/net: get rid of conversion warning on clang/OSX Signed-off-by: Jens Axboe --- diff --git a/engines/net.c b/engines/net.c index aa7de967..7a0fe696 100644 --- a/engines/net.c +++ b/engines/net.c @@ -485,7 +485,7 @@ static void store_udp_seq(struct netio_data *nd, struct io_u *io_u) struct udp_seq *us; us = io_u->xfer_buf + io_u->xfer_buflen - sizeof(*us); - us->magic = cpu_to_le64(FIO_UDP_SEQ_MAGIC); + us->magic = cpu_to_le64((uint64_t) FIO_UDP_SEQ_MAGIC); us->bs = cpu_to_le64((uint64_t) io_u->xfer_buflen); us->seq = cpu_to_le64(nd->udp_send_seq++); }