summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 9cc6cf6a..935d83e9 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2986,7 +2986,8 @@ recommend(int ent, fileheader_t * fhdr, const char *direct)
if( tolog == 1 ){
FILE *fp;
if( (fp = fopen("log/push", "a")) != NULL ){
- fprintf(fp, "%s %d %s %s %s\n", cuser.userid, now, currboard, fhdr->filename, msg);
+ fprintf(fp, "%s %d %s %s %s\n", cuser.userid,
+ (int)now, currboard, fhdr->filename, msg);
fclose(fp);
}
sleep(1);