projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
de06a46
)
engines/net: get rid of conversion warning on clang/OSX
author
Jens Axboe
<axboe@fb.com>
Wed, 15 Oct 2014 14:51:43 +0000
(08:51 -0600)
committer
Jens Axboe
<axboe@fb.com>
Wed, 15 Oct 2014 14:51:43 +0000
(08:51 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
engines/net.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/net.c
b/engines/net.c
index aa7de9678ad02d1c30bcea5f4aa52ace0e6519c0..7a0fe696c1b81c7ff0dba9539387a0f16c5d7bdb 100644
(file)
--- 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++);
}