diff options
Diffstat (limited to 'innbbsd/receive_article.c')
-rw-r--r-- | innbbsd/receive_article.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innbbsd/receive_article.c b/innbbsd/receive_article.c index 28d2a4aa..becdda61 100644 --- a/innbbsd/receive_article.c +++ b/innbbsd/receive_article.c @@ -739,7 +739,7 @@ post_article(homepath, userid, board, writebody, pathname, firstpath) now = time(NULL); while (1) { - sprintf(name, "M.%ld.A", ++now); + sprintf(name, "M.%ld.A", (long)++now); sprintf(article, "%s/%s", homepath, name); fh = open(article, O_CREAT | O_EXCL | O_WRONLY, 0644); if (fh >= 0) |