aboutsummaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
Diffstat (limited to 'libports')
-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;