diff options
-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", "¡÷", }; |