diff --git a/src/macro/Expressions.hh b/src/macro/Expressions.hh
index 668051e48432a23d7b3b34e73608717022d93416..d6b6d8685fb8e5e07ea43c19c7507604daafa438 100644
--- a/src/macro/Expressions.hh
+++ b/src/macro/Expressions.hh
@@ -52,7 +52,7 @@ namespace macro
     void push(const string &prefix, const Tokenizer::location &location)
     {
       stringstream ss;
-      unsigned end_col = 0 < location.end.column ? location.end.column - 1 : 0;
+      auto end_col = 0 < location.end.column ? location.end.column - 1 : 0;
 
       ss << prefix << ": "
          << R"(")" << *location.begin.filename << R"(" line )" << location.begin.line