diff --git a/src/var.c b/src/var.c index 22e1ebe5..a7a8a407 100644 --- a/src/var.c +++ b/src/var.c @@ -1005,7 +1005,7 @@ static int SetSysVarHelper(SysVar *v, Value *value) if (v->type == STR_TYPE) { /* If it's already the same, don't bother doing anything */ - if (!strcmp(value->v.str, (char const *) v->value)) { + if (!strcmp(value->v.str, * (char const **) v->value)) { DestroyValue(*value); return OK; }