diff options
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; } |