diff options
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 402c6f06..6bfe9962 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -449,7 +449,7 @@ do_crosspost(char *brd, fileheader_t *postfile, const char *fpath) strcpy(fh.date, postfile->date); sprintf(fh.title,"%-*.*s.%sĒŠ", len, len, postfile->title, currboard); unlink(genbuf); - Link(fpath, genbuf); + Link((char *)fpath, genbuf); postfile->filemode = FILE_LOCAL; setbdir(genbuf, brd); if (append_record(genbuf, &fh, sizeof(fileheader_t)) != -1) { |