aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lj_clib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_clib.c b/src/lj_clib.c
index 4e345058..283b6e42 100644
--- a/src/lj_clib.c
+++ b/src/lj_clib.c
@@ -81,7 +81,7 @@ static const char *clib_extname(lua_State *L, const char *name)
81/* Check for a recognized ld script line. */ 81/* Check for a recognized ld script line. */
82static const char *clib_check_lds(lua_State *L, const char *buf) 82static const char *clib_check_lds(lua_State *L, const char *buf)
83{ 83{
84 char *p, *e; 84 const char *p, *e;
85 if ((!strncmp(buf, "GROUP", 5) || !strncmp(buf, "INPUT", 5)) && 85 if ((!strncmp(buf, "GROUP", 5) || !strncmp(buf, "INPUT", 5)) &&
86 (p = strchr(buf, '('))) { 86 (p = strchr(buf, '('))) {
87 while (*++p == ' ') ; 87 while (*++p == ' ') ;