diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2014-05-21 20:58:56 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2014-05-21 20:58:56 +0800 |
commit | 1d4994541f0119eaa3279666478cf614834324bc (patch) | |
tree | 9774e5e11f71efa0a999ded41c44b98530b31a20 | |
parent | 1b3d039d6ae0775809cbff143372ec9c5565ed39 (diff) | |
download | pttbbs-1d4994541f0119eaa3279666478cf614834324bc.tar pttbbs-1d4994541f0119eaa3279666478cf614834324bc.tar.gz pttbbs-1d4994541f0119eaa3279666478cf614834324bc.tar.bz2 pttbbs-1d4994541f0119eaa3279666478cf614834324bc.tar.lz pttbbs-1d4994541f0119eaa3279666478cf614834324bc.tar.xz pttbbs-1d4994541f0119eaa3279666478cf614834324bc.tar.zst pttbbs-1d4994541f0119eaa3279666478cf614834324bc.zip |
Make gcc happy.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@6003 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/comments.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/comments.c b/pttbbs/mbbsd/comments.c index 8546478d..83f4f6bb 100644 --- a/pttbbs/mbbsd/comments.c +++ b/pttbbs/mbbsd/comments.c @@ -22,7 +22,7 @@ void FormatCommentString(char *buf, size_t szbuf, int type, #else // TODO(piaip) Make bbs.c#recomment use same structure. // Now we just assume they are the same. - const int RECTYPE_SIZE = 3; + enum { RECTYPE_SIZE = 3 }; static const char *ctype[RECTYPE_SIZE] = { "±À", "¼N", "¡÷", }; |