From: maier Date: Tue, 22 Oct 2013 22:48:44 +0000 (+0000) Subject: Bugfix: Compare compatible types to make clang-3.4 (trunk) happy X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c95365475bfd0ae0db1824cce26daddaa0b50bc;p=dealii-svn.git Bugfix: Compare compatible types to make clang-3.4 (trunk) happy git-svn-id: https://svn.dealii.org/trunk@31395 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/base/parameter_handler.cc b/deal.II/source/base/parameter_handler.cc index 267fef855e..58f27f55fb 100644 --- a/deal.II/source/base/parameter_handler.cc +++ b/deal.II/source/base/parameter_handler.cc @@ -1658,7 +1658,7 @@ double ParameterHandler::get_double (const std::string &entry_string) const char *endptr; double d = std::strtod (s.c_str(), &endptr); // assert there was no error - AssertThrow ((s.c_str()!='\0') || (*endptr == '\0'), + AssertThrow ((*s.c_str() != '\0') || (*endptr == '\0'), ExcConversionError(s)); return d;