commit | 31a9f9cb495b468f3a93c4edaf8fccd65aa86f64 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Dec 17 13:29:31 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Dec 17 13:30:42 2020 -0700 |
tree | a9707257fd69642a68e3ea13ca90b78396d5fc95 | |
parent | 791828815ede5394749d97162890378867a1d79b [diff] |
liburing.h: fix 32-bit compile warning Cast 'ts' to uintptr_t, to avoid having the compiler complain about casting it to a 64-bit size. ../src/include/liburing.h: In function ‘io_uring_prep_timeout_update’: ../src/include/liburing.h:342:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 342 | (void *)(unsigned long)user_data, 0, (__u64)ts); | ^ Signed-off-by: Jens Axboe <axboe@kernel.dk>