X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fspool_out.c;h=8bebf107441d07dc04694391f865918102d72ede;hb=ecce6d9ac4fa63cc7e011c21a033f5b6c54a3995;hp=ac3927910034e52c75121172a49bca45c5155ffb;hpb=32dfdf8baa8ccf091a0d5d4d75e8627424898756;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/spool_out.c b/src/src/spool_out.c index ac3927910..8bebf1074 100644 --- a/src/src/spool_out.c +++ b/src/src/spool_out.c @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2016 */ +/* Copyright (c) University of Cambridge 1995 - 2018 */ /* See the file NOTICE for conditions of use and distribution. */ /* Functions for writing spool files, and moving them about. */ @@ -154,9 +154,9 @@ fprintf(f, "%s-H\n", message_id); fprintf(f, "%.63s %ld %ld\n", originator_login, (long int)originator_uid, (long int)originator_gid); fprintf(f, "<%s>\n", sender_address); -fprintf(f, "%d %d\n", received_time.tv_sec, warning_count); +fprintf(f, "%d %d\n", (int)received_time.tv_sec, warning_count); -fprintf(f, "-received_time_usec .%06d\n", received_time.tv_usec); +fprintf(f, "-received_time_usec .%06d\n", (int)received_time.tv_usec); /* If there is information about a sending host, remember it. The HELO data can be set for local SMTP as well as remote. */