From 72e69e139ee5c41ef6c7ba2e912f5ca5684b7214 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 5 Mar 2011 23:25:47 +0100 Subject: [PATCH] src/tlsproxy.c: Fix possible warning. --- src/tlsproxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.45.2