summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-09 17:26:43 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-09 17:26:43 +0800
commit2743aa3f2140fa84e9c8bf08f84d62dbc5b406d4 (patch)
tree1caffb1dd724a5205d1c47e8858a393bbe5c217f /mbbsd/bbs.c
parentb6eef5402fcae504b757aef24824d33f2fed561a (diff)
downloadpttbbs-2743aa3f2140fa84e9c8bf08f84d62dbc5b406d4.tar
pttbbs-2743aa3f2140fa84e9c8bf08f84d62dbc5b406d4.tar.gz
pttbbs-2743aa3f2140fa84e9c8bf08f84d62dbc5b406d4.tar.bz2
pttbbs-2743aa3f2140fa84e9c8bf08f84d62dbc5b406d4.tar.lz
pttbbs-2743aa3f2140fa84e9c8bf08f84d62dbc5b406d4.tar.xz
pttbbs-2743aa3f2140fa84e9c8bf08f84d62dbc5b406d4.tar.zst
pttbbs-2743aa3f2140fa84e9c8bf08f84d62dbc5b406d4.zip
warning free
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1520 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c2
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) {