diff --git a/httpd.c b/httpd.c index d4eb456..a8f397b 100644 --- a/httpd.c +++ b/httpd.c @@ -505,7 +505,7 @@ int main(void) &client_name_len); if (client_sock == -1) error_die("accept"); - /* accept_request(&client_sock); */ + /* accept_request((void *)(intptr_t)client_sock); */ if (pthread_create(&newthread , NULL, (void *)accept_request, (void *)(intptr_t)client_sock) != 0) perror("pthread_create"); }