From 445a84fb749d6c66482fc722f22a8d7dbb2c0057 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 12 Sep 2005 01:20:51 +0000 Subject: [PATCH] Make one of our compilers happy by avoiding a conversion error. git-svn-id: https://svn.dealii.org/trunk@11402 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/utilities.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/base/source/utilities.cc b/deal.II/base/source/utilities.cc index feafbb211e..2fbac8bfe0 100644 --- a/deal.II/base/source/utilities.cc +++ b/deal.II/base/source/utilities.cc @@ -211,7 +211,7 @@ namespace Utilities // starting at position width, find the // location of the previous space, so // that we can break around there - int location = std::min(width,text.length()-1); + int location = std::min(width,text.length()-1); for (; location>=0; --location) if (text[location] == ' ') break; @@ -219,7 +219,7 @@ namespace Utilities // if there are no spaces, then try if // there are spaces coming up if (location == 0) - for (location = std::min(width,text.length()-1); + for (location = std::min(width,text.length()-1); location(text.length()); ++location) if (text[location] == ' ') -- 2.39.5