diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index adf928949..de84dd7a5 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -1246,7 +1246,7 @@ void EvalState::cacheFile( *this, *e, this->baseEnv, - e->getPos() ? static_cast>(positions[e->getPos()] : nullptr), + e->getPos() ? static_cast>(positions[e->getPos()]) : nullptr, "while evaluating the file '%1%':", resolvedPath) : nullptr;