diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2014-06-04 20:11:25 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2014-06-04 20:11:25 +0100 |
commit | 35b7b6ff525028eef69cf19d86f77deb1a84b7c9 (patch) | |
tree | f128ad8afb130070a894b0ed0c130d44c9a4ab01 | |
parent | 984702029ad4e6a1686dd801811a68f6034e6b38 (diff) |
Compiler quietening
-rw-r--r-- | src/src/deliver.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |