aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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: