@@ -, +, @@ --- t/io_uring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/t/io_uring.c +++ a/t/io_uring.c @@ -618,8 +618,8 @@ static int submitter_init(struct submitter *s) s->tid = gettid(); printf("submitter=%d, tid=%d\n", s->index, s->tid); - __init_rand64(&s->rand_state, pthread_self()); - srand48(pthread_self()); + __init_rand64(&s->rand_state, (long)pthread_self()); + srand48((long)pthread_self()); for (i = 0; i < MAX_FDS; i++) s->files[i].fileno = i; --