diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-03-16 10:46:52 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-03-16 10:46:52 +0000 |
commit | 9b43ade1c02b7dfa07f9667fa631a4b1e5ac73ca (patch) | |
tree | 6f78e18f753c1da88e5f37b07ef2cbe62785ba5a /tests | |
parent | ad05d0a8d9e54208756bbf72740b31a1445e731e (diff) |
typecase getpid() to int to prevent compiler warning
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/sws.c | 2 |
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: |