From: Simon Ruderich Date: Sat, 5 Mar 2011 22:25:47 +0000 (+0100) Subject: src/tlsproxy.c: Fix possible warning. X-Git-Tag: 0.1~38 X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=72e69e139ee5c41ef6c7ba2e912f5ca5684b7214;p=tlsproxy%2Ftlsproxy.git src/tlsproxy.c: Fix possible warning. --- diff --git a/src/tlsproxy.c b/src/tlsproxy.c index 68b5a2e..396e0ac 100644 --- a/src/tlsproxy.c +++ b/src/tlsproxy.c @@ -434,7 +434,8 @@ static int read_from_write_to(int from, int to) { return -1; } if (size_read != size_written) { - printf("only written %ld of %ld bytes!\n", size_read, size_written); + printf("only written %ld of %ld bytes!\n", (long int)size_read, + (long int)size_written); return -1; }