From aca51f31d6df45adec502a5287e2428d18d89ba7 Mon Sep 17 00:00:00 2001 From: kcwu Date: Fri, 19 Jun 2009 06:44:23 +0000 Subject: * fix compile warnings git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4666 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 4 ++-- 1 file 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 -- cgit v1.2.3