aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-16 10:46:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-16 10:46:52 +0000
commit9b43ade1c02b7dfa07f9667fa631a4b1e5ac73ca (patch)
tree6f78e18f753c1da88e5f37b07ef2cbe62785ba5a /tests
parentad05d0a8d9e54208756bbf72740b31a1445e731e (diff)
typecase getpid() to int to prevent compiler warning
Diffstat (limited to 'tests')
-rw-r--r--tests/server/sws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c
index 8dd050efa..007d6b753 100644
--- a/tests/server/sws.c
+++ b/tests/server/sws.c
@@ -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: