Fix compiler warning.

Thanks to Holger Hoffstätte. #1436
This commit is contained in:
Mike Pall
2026-02-13 14:21:42 +01:00
parent 221ea00775
commit 5db4b03aea

View File

@@ -80,7 +80,7 @@ static const char *clib_extname(lua_State *L, const char *name)
/* Check for a recognized ld script line. */
static const char *clib_check_lds(lua_State *L, const char *buf)
{
char *p, *e;
const char *p, *e;
if ((!strncmp(buf, "GROUP", 5) || !strncmp(buf, "INPUT", 5)) &&
(p = strchr(buf, '('))) {
while (*++p == ' ') ;