summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index 8350b53..7a25b84 100644
--- a/httpd.c
+++ b/httpd.c
@@ -366,7 +366,7 @@ void job_wait(xs_val **job)
static void *job_thread(void *arg)
/* job thread */
{
- int pid = (char *) arg - (char *) 0x0;
+ int pid = (int)(uintptr_t)arg;
srv_debug(1, xs_fmt("job thread %d started", pid));