summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-05-09 00:30:57 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-10 02:06:25 +0200
commit50cae68c0c22bbdde066d6303bf13b6024988450 (patch)
tree2d091228dc8152d45ee4ff875190f77a0685fcf1
parent79991de6ae101eefb32b6676e81f345ed98874a6 (diff)
libports: Port to x86_64
Message-Id: <20230508213136.608575-3-bugaevc@gmail.com>
-rw-r--r--libports/manage-multithread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libports/manage-multithread.c b/libports/manage-multithread.c
index 9f397b26..0f8af8ea 100644
--- a/libports/manage-multithread.c
+++ b/libports/manage-multithread.c
@@ -229,7 +229,7 @@ ports_manage_port_operations_multithread (struct port_bucket *bucket,
thread_function (void *arg)
{
struct ports_thread thread;
- int master = (int) arg;
+ int master = (int)(uintptr_t) arg;
int timeout;
error_t err;