summaryrefslogtreecommitdiff
path: root/examples/mta.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mta.c')
-rw-r--r--examples/mta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mta.c b/examples/mta.c
index 246b74563..5b61890ad 100644
--- a/examples/mta.c
+++ b/examples/mta.c
@@ -316,7 +316,7 @@ mta_send (message_t msg)
message_get_stream (msg, &stream);
line = 0;
- fprintf (diag, "%4d: ", line);
+ fprintf (diag, "%4lu: ", (unsigned long) line);
while (stream_read (stream, buffer, sizeof buffer - 1, off, &n) == 0
&& n != 0)
{
@@ -328,7 +328,7 @@ mta_send (message_t msg)
if (buffer[i] == '\n')
{
line++;
- fprintf (diag, "%4d: ", line);
+ fprintf (diag, "%4lu: ", (unsigned long) line);
}
}
off += n;

Return to:

Send suggestions and report system problems to the System administrator.