title: pthread_create error
body: <p>I have</p>
  
  <pre><code>    client_sock = accept(server_sock, (struct sockaddr *)&amp;client_name, &amp;client_name_len);        
      if (pthread_create(&amp;newthread , NULL, (void * ) accept_request, client_sock) != 0) {
              perror("pthread_create");
      }
  </code></pre>
  
  <p>That's just part of the entire script. Every time I try to compile it, I get <code>warning: passing argument 4 of 'pthread_create' makes pointer from integer without a cast</code></p>
  
  <p>Any idea why this is happening? Thanks in advance.</p>