From c325bc190633349e806d0f2c313ace2338950f88 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 18 Jun 2004 20:16:42 +0000 Subject: Compiler warnings fixes, preprocessor and minor general cleanup. svn path=/trunk/; revision=3901 --- transact.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'transact.c') diff --git a/transact.c b/transact.c index b82f928c..c65b8ba4 100644 --- a/transact.c +++ b/transact.c @@ -1135,10 +1135,10 @@ int readheaders(int sock, #endif /* HAVE_SNPRINTF */ "Received: from %s [%u.%u.%u.%u]\r\n", ctl->server.truename, - (unsigned char)ctl->server.trueaddr[0], - (unsigned char)ctl->server.trueaddr[1], - (unsigned char)ctl->server.trueaddr[2], - (unsigned char)ctl->server.trueaddr[3]); + (unsigned int)(unsigned char)ctl->server.trueaddr[0], + (unsigned int)(unsigned char)ctl->server.trueaddr[1], + (unsigned int)(unsigned char)ctl->server.trueaddr[2], + (unsigned int)(unsigned char)ctl->server.trueaddr[3]); } else { #ifdef HAVE_SNPRINTF snprintf(buf, sizeof(buf), -- cgit v1.2.3