Skip to content
Snippets Groups Projects
Commit 9b43ade1 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

typecase getpid() to int to prevent compiler warning

parent ad05d0a8
No related branches found
No related tags found
No related merge requests found
......@@ -339,7 +339,7 @@ static int send_doc(int sock, int doc, int part_no)
/* we got a "friends?" question, reply back that we sure are */
logmsg("Identifying ourselves as friends");
sprintf(weare, "HTTP/1.1 200 OK\r\n\r\nWE ROOLZ: %d\r\n",
getpid());
(int)getpid());
buffer = weare;
break;
case DOCNUMBER_INTERNAL:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment