From: Erik Hofman Date: Fri, 12 Aug 2016 09:48:34 +0000 (+0200) Subject: Fix a problem for MSVC X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d8caf85d010d31067acf6f989c853c6ed386d5aa;p=flightgear.git Fix a problem for MSVC --- diff --git a/src/GUI/QtLauncher.cxx b/src/GUI/QtLauncher.cxx index 2d126ede1..7dc058b82 100644 --- a/src/GUI/QtLauncher.cxx +++ b/src/GUI/QtLauncher.cxx @@ -291,7 +291,7 @@ private: void onFinished() { flightgear::PolyLineList::const_iterator begin = m_parsedLines.begin() + m_lineInsertCount; - unsigned int numToAdd = std::min(1000UL, m_parsedLines.size() - m_lineInsertCount); + unsigned int numToAdd = std::min(1000UL, m_parsedLines.size() - m_lineInsertCount); flightgear::PolyLineList::const_iterator end = begin + numToAdd; flightgear::PolyLine::bulkAddToSpatialIndex(begin, end);