summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-02-09 16:17:07 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-02-09 16:17:07 +0800
commit6c77da3c9604a957f9d4eb0e474072bc74b2cf81 (patch)
tree364e1fe65571375ab5f2f6f6b29168973c0ed2ae
parentba146da98e7dba4479fe640f2e03eebb91c95fd0 (diff)
downloadpttbbs-6c77da3c9604a957f9d4eb0e474072bc74b2cf81.tar
pttbbs-6c77da3c9604a957f9d4eb0e474072bc74b2cf81.tar.gz
pttbbs-6c77da3c9604a957f9d4eb0e474072bc74b2cf81.tar.bz2
pttbbs-6c77da3c9604a957f9d4eb0e474072bc74b2cf81.tar.lz
pttbbs-6c77da3c9604a957f9d4eb0e474072bc74b2cf81.tar.xz
pttbbs-6c77da3c9604a957f9d4eb0e474072bc74b2cf81.tar.zst
pttbbs-6c77da3c9604a957f9d4eb0e474072bc74b2cf81.zip
Fix const casts
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5921 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 5dc8476f..b3948234 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -623,7 +623,8 @@ static void
readdoent(int num, fileheader_t * ent)
{
int type = ' ', title_type = SUBJECT_NORMAL;
- const char *title, xtitle[STRLEN];
+ const char *title;
+ char xtitle[STRLEN];
char *mark, color, special = 0, isonline = 0, recom[8];
char *typeattr = "";
char isunread = 0, oisunread = 0;