summaryrefslogtreecommitdiff
path: root/comsat
diff options
context:
space:
mode:
Diffstat (limited to 'comsat')
-rw-r--r--comsat/comsat.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c
index 2d22414b3..9592e484c 100644
--- a/comsat/comsat.c
+++ b/comsat/comsat.c
@@ -379,9 +379,10 @@ comsat_connection (int fd, struct sockaddr *sa, int salen,
{
char *p = mu_sockaddr_to_astr (sa, salen);
mu_diag_output (MU_DIAG_INFO,
- ngettext ("received %d byte from %s",
- "received %d bytes from %s", rdlen),
- rdlen, p);
+ ngettext ("received %lu byte from %s",
+ "received %lu bytes from %s",
+ (unsigned long) rdlen),
+ (unsigned long) rdlen, p);
mu_diag_output (MU_DIAG_INFO, "string: %s", buffer);
free (p);
}

Return to:

Send suggestions and report system problems to the System administrator.