aboutsummaryrefslogtreecommitdiffstats
path: root/transact.c
diff options
context:
space:
mode:
Diffstat (limited to 'transact.c')
-rw-r--r--transact.c8
1 files changed, 4 insertions, 4 deletions
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),