diff options
| author | Mike Pall <mike> | 2026-02-13 14:21:42 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2026-02-13 14:21:42 +0100 |
| commit | 5db4b03aeaf0f72eb817b468461b896466f820fd (patch) | |
| tree | b9e56d11c7831675f6d30fed8d7e161a2674bee6 | |
| parent | 221ea00775b2694dc088331a05ebb3c4273b182f (diff) | |
| download | luajit-5db4b03aeaf0f72eb817b468461b896466f820fd.tar.gz luajit-5db4b03aeaf0f72eb817b468461b896466f820fd.tar.bz2 luajit-5db4b03aeaf0f72eb817b468461b896466f820fd.zip | |
Fix compiler warning.
Thanks to Holger Hoffstätte. #1436
| -rw-r--r-- | src/lj_clib.c | 2 |
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. */ |
| 81 | static const char *clib_check_lds(lua_State *L, const char *buf) | 81 | static 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 == ' ') ; |
