From 781363cc71872ca5d22d696eddc8f9a26631c70a Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 1 Apr 2006 10:35:44 +0000 Subject: a few more type fixes for report/snprintf, patch by Miloslav Trmac. svn path=/branches/BRANCH_6-3/; revision=4767 --- transact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'transact.c') diff --git a/transact.c b/transact.c index 839cc181..66016d14 100644 --- a/transact.c +++ b/transact.c @@ -1164,7 +1164,7 @@ int readheaders(int sock, saddr, sizeof(saddr), NULL, 0, NI_NUMERICHOST); if (e) - snprintf(saddr, sizeof(saddr), "(%-.*s)", sizeof(saddr) - 3, gai_strerror(e)); + snprintf(saddr, sizeof(saddr), "(%-.*s)", (int)(sizeof(saddr) - 3), gai_strerror(e)); snprintf(buf, sizeof(buf), "Received: from %s [%s]\r\n", ctl->server.truename, saddr); -- cgit v1.2.3