diff --git a/src/Context.cpp b/src/Context.cpp index 39936e8ee..8731af5de 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -502,7 +502,7 @@ int Context::getWidth () int Context::getHeight () { // Determine window size. - int height = config.getInteger ("defaultheight"); + auto height = config.getInteger ("defaultheight"); // A zero height value means 'infinity', which is approximated here by 2^16. if (height == 0)