summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/internal/slibtool_mkvars_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/slibtool_mkvars_impl.c b/src/internal/slibtool_mkvars_impl.c
index 155036a..5245034 100644
--- a/src/internal/slibtool_mkvars_impl.c
+++ b/src/internal/slibtool_mkvars_impl.c
@@ -38,7 +38,7 @@ static int slbt_get_mkvars_var(
/* search for ^var= */
for (pline=tctx->txtlinev; !match && *pline; pline++) {
if (!strncmp(*pline,var,len)) {
- if (isspace((*pline)[len]) || ((*pline)[len] == '=')) {
+ if (isspace((cint = (*pline)[len])) || ((*pline)[len] == '=')) {
mark = &(*pline)[len];
for (; isspace(cint = *mark); )