diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-01-25 12:30:04 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-01-25 12:30:04 +0000 |
commit | 65c37b17f39210ff32ba3ec1415d5f5a3f8e86ff (patch) | |
tree | a23710d061b8695f9eec30cbf5591e6016432089 /Build/source/texk/web2c/luatexdir/lua/llanglib.c | |
parent | a6ff9d2b253991c7c8eb94f2977abb10ad466480 (diff) |
texk/web2c/luatexdir: compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@16817 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua/llanglib.c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/llanglib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/llanglib.c b/Build/source/texk/web2c/luatexdir/lua/llanglib.c index 73737f24922..e71565f94b4 100644 --- a/Build/source/texk/web2c/luatexdir/lua/llanglib.c +++ b/Build/source/texk/web2c/luatexdir/lua/llanglib.c @@ -73,7 +73,7 @@ static int lang_patterns(lua_State * L) lua_pushstring(L, "lang.patterns(): argument should be a string"); return lua_error(L); } - load_patterns(*lang_ptr, (unsigned char *) lua_tostring(L, 2)); + load_patterns(*lang_ptr, (const unsigned char *) lua_tostring(L, 2)); return 0; } else { if ((*lang_ptr)->patterns != NULL) { @@ -104,7 +104,7 @@ static int lang_hyphenation(lua_State * L) "lang.hyphenation(): argument should be a string"); return lua_error(L); } - load_hyphenation(*lang_ptr, (unsigned char *) lua_tostring(L, 2)); + load_hyphenation(*lang_ptr, (const unsigned char *) lua_tostring(L, 2)); return 0; } else { if ((*lang_ptr)->exceptions != 0) { @@ -206,7 +206,7 @@ static int do_lang_clean(lua_State * L) lua_pushstring(L, "lang.clean(): argument should be a string"); return lua_error(L); } - (void) clean_hyphenation((char *) lua_tostring(L, 1), &cleaned); + (void) clean_hyphenation(lua_tostring(L, 1), &cleaned); lua_pushstring(L, cleaned); return 1; } |