Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 859988 Details for
Bug 898562
sys-block/fio-3.30-r1 fails to compile (MUSL-CLANG-SYSTEM): io_uring.c:621:32: error: incompatible pointer to integer conversion passing pthread_t (aka struct __pthread ) to parameter of type uint64_t (aka unsigned long) [-Wint-conversion]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix
fio-3.30-pthread-self-cast-long.patch (text/plain), 760 bytes, created by
Alfred Persson
on 2023-04-13 01:27:57 UTC
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Alfred Persson
Created:
2023-04-13 01:27:57 UTC
Size:
760 bytes
patch
obsolete
>From 3a7ed010380b3b6591cf6397646a895cff5b232f Mon Sep 17 00:00:00 2001 >From: Your Name <you@example.com> >Date: Thu, 13 Apr 2023 03:22:44 +0200 >Subject: [PATCH] fio-3.30-pthread-self-cast-long > >--- > t/io_uring.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/io_uring.c b/t/io_uring.c >index 1003591..99b32bd 100644 >--- a/t/io_uring.c >+++ b/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; >-- >2.39.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 898562
:
855370
| 859988