summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
author(no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-28 16:50:12 +0800
committer(no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-28 16:50:12 +0800
commitdc2395e403af70aa488f3d944c9ba8ddee95c1e1 (patch)
tree4deb6735fc890d0fa22a72d2a669d6efce11fb0d /mbbsd/mail.c
parent2c3e0a25796cf513b5bde805cc2c2dc369ab67f6 (diff)
downloadpttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar.gz
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar.bz2
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar.lz
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar.xz
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.tar.zst
pttbbs-dc2395e403af70aa488f3d944c9ba8ddee95c1e1.zip
warning free
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1138 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 52c8884c..84fa9c3e 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1514,7 +1514,7 @@ bsmtp(char *fpath, char *title, char *rcpt, int method)
/* stamp the queue file */
strlcpy(buf, "out/", sizeof(buf));
for (;;) {
- snprintf(buf + 4, sizeof(buf) - 4, "M.%ld.A", ++chrono);
+ snprintf(buf + 4, sizeof(buf) - 4, "M.%d.A", (int)++chrono);
if (!dashf(buf)) {
Link(fpath, buf);
break;