---
libports/manage-multithread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.40.1