aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3eb2b6ac..df2a50dc 100644
--- a/src/lj_clib.c
+++ b/src/lj_clib.c
@@ -80,7 +80,7 @@ static const char *clib_extname(lua_State *L, const char *name)
80/* Check for a recognized ld script line. */ 80/* Check for a recognized ld script line. */
81static const char *clib_check_lds(lua_State *L, const char *buf) 81static const char *clib_check_lds(lua_State *L, const char *buf)
82{ 82{
83 char *p, *e; 83 const char *p, *e;
84 if ((!strncmp(buf, "GROUP", 5) || !strncmp(buf, "INPUT", 5)) && 84 if ((!strncmp(buf, "GROUP", 5) || !strncmp(buf, "INPUT", 5)) &&
85 (p = strchr(buf, '('))) { 85 (p = strchr(buf, '('))) {
86 while (*++p == ' ') ; 86 while (*++p == ' ') ;