diff options
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -366,7 +366,7 @@ void job_wait(xs_val **job) | |||
| 366 | static void *job_thread(void *arg) | 366 | static void *job_thread(void *arg) |
| 367 | /* job thread */ | 367 | /* job thread */ |
| 368 | { | 368 | { |
| 369 | int pid = (char *) arg - (char *) 0x0; | 369 | int pid = (int)(uintptr_t)arg; |
| 370 | 370 | ||
| 371 | srv_debug(1, xs_fmt("job thread %d started", pid)); | 371 | srv_debug(1, xs_fmt("job thread %d started", pid)); |
| 372 | 372 | ||