diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-19 14:44:23 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-19 14:44:23 +0800 |
commit | aca51f31d6df45adec502a5287e2428d18d89ba7 (patch) | |
tree | 48fa736ea84f7485319c196f418b9f05deac064d /mbbsd | |
parent | cf5f8e02c33eabfb339780d91074350ab41db28f (diff) | |
download | pttbbs-aca51f31d6df45adec502a5287e2428d18d89ba7.tar pttbbs-aca51f31d6df45adec502a5287e2428d18d89ba7.tar.gz pttbbs-aca51f31d6df45adec502a5287e2428d18d89ba7.tar.bz2 pttbbs-aca51f31d6df45adec502a5287e2428d18d89ba7.tar.lz pttbbs-aca51f31d6df45adec502a5287e2428d18d89ba7.tar.xz pttbbs-aca51f31d6df45adec502a5287e2428d18d89ba7.tar.zst pttbbs-aca51f31d6df45adec502a5287e2428d18d89ba7.zip |
* fix compile warnings
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4666 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 3b020a33..9c5c2939 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -2253,7 +2253,7 @@ static const char * const luaLibs[] = { "bbs", "bit", "math", "store", "string", "table", "toc", NULL }; -static const char** const luaLibAPI[] = { +static const char* const * const luaLibAPI[] = { luaBbs, luaBit, luaMath, luaStore, luaString, luaTable, luaToc, NULL }; @@ -2261,7 +2261,7 @@ static const char** const luaLibAPI[] = { int synLuaKeyword(const char *text, int n, char *wlen) { int i = 0; - const char **tbl = NULL; + const char * const *tbl = NULL; if (*text >= 'A' && *text <= 'Z') { // normal identifier |