From: Jeremy Harris Date: Wed, 4 Jun 2014 19:11:25 +0000 (+0100) Subject: Compiler quietening X-Git-Tag: exim-4_83_RC2~2 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/35b7b6ff525028eef69cf19d86f77deb1a84b7c9?ds=sidebyside Compiler quietening --- diff --git a/src/src/deliver.c b/src/src/deliver.c index 3f5800ded..c2f769da6 100644 --- a/src/src/deliver.c +++ b/src/src/deliver.c @@ -6497,7 +6497,7 @@ if (addr_senddsn != NULL) DEBUG(D_deliver) debug_printf("sending error message to: %s\n", sender_address); /* build unique id for MIME boundary */ - snprintf(boundaryStr, 63, "%d-eximdsn-%d", time(NULL), rand()); + snprintf(boundaryStr, 63, "%l-eximdsn-%d", (long) time(NULL), rand()); DEBUG(D_deliver) debug_printf("DSN: MIME boundary: %s\n", boundaryStr); if (errors_reply_to != NULL) fprintf(f,"Reply-To: %s\n", errors_reply_to); @@ -6755,7 +6755,7 @@ while (addr_failed != NULL) #ifdef EXPERIMENTAL_DSN /* generate boundary string and output MIME-Headers */ uschar boundaryStr[64]; - snprintf(boundaryStr, 63, "%d-eximdsn-%d", time(NULL), rand()); + snprintf(boundaryStr, 63, "%l-eximdsn-%d", (long) time(NULL), rand()); fprintf(f,"Content-Type: multipart/report; report-type=delivery-status; boundary=%s\n", boundaryStr); fprintf(f,"MIME-Version: 1.0\n"); #endif @@ -7386,7 +7386,7 @@ else if (addr_defer != (address_item *)(+1)) #ifdef EXPERIMENTAL_DSN /* generated boundary string and output MIME-Headers */ uschar boundaryStr[64]; - snprintf(boundaryStr, 63, "%d-eximdsn-%d", time(NULL), rand()); + snprintf(boundaryStr, 63, "%l-eximdsn-%d", (long) time(NULL), rand()); fprintf(f,"Content-Type: multipart/report; report-type=delivery-status; boundary=%s\n", boundaryStr); fprintf(f,"MIME-Version: 1.0\n"); #endif