From 529133ae6e3250d3e5a8d0f6c75b67a1849bd8b4 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 6 May 2024 15:09:45 +0000 Subject: slbt_st_get_stoolie_ctx(): explicitly promote char to in when calling isspace(). --- src/stoolie/slbt_stoolie_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stoolie/slbt_stoolie_ctx.c b/src/stoolie/slbt_stoolie_ctx.c index b74edd3..3457fbe 100644 --- a/src/stoolie/slbt_stoolie_ctx.c +++ b/src/stoolie/slbt_stoolie_ctx.c @@ -208,7 +208,7 @@ int slbt_st_get_stoolie_ctx( if (!ctx->m4buf && ctx->makam) { for (pline=ctx->makam->txtlinev; !ctx->m4argv && *pline; pline++) { if (!strncmp(*pline,"ACLOCAL_AMFLAGS",15)) { - if (isspace((*pline)[15]) || ((*pline)[15] == '=')) { + if (isspace((cint = (*pline)[15])) || ((*pline)[15] == '=')) { mark = &(*pline)[15]; for (; isspace(cint = *mark); ) -- cgit v1.2.3