From 50cae68c0c22bbdde066d6303bf13b6024988450 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Tue, 9 May 2023 00:30:57 +0300 Subject: libports: Port to x86_64 Message-Id: <20230508213136.608575-3-bugaevc@gmail.com> --- libports/manage-multithread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libports') 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; -- cgit v1.2.3