title: Compiler warns about argument 6 in call to sendto
body: <pre><code>socklen_t clilen; // declaration
  
  n = sendto(sockfd1, buffer, sizeof(buffer), 0, (struct sockaddr *)&amp;cli_addr, &amp;clilen);
  if(n &lt; 0)
  {
      printf("\nERROR writing to socket\n");
      exit(0);
  } 
  </code></pre>
  
  <p>While compiling my code, it is giving me a warning like..... </p>
  
  <pre><code>warning: passing argument 6 of ‘sendto’ makes integer from pointer without a cast [enabled by default]
  n = sendto(sockfd1, buffer, sizeof(buffer), 0, (struct sockaddr *)&amp;cli_addr, &amp;clilen);
  </code></pre>
  
  <p>What to do?</p>