From: Matthias 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-Tag: v8.1.0~536 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bba1d694e9269a67fa9f72e9b5ab06696bb89090;p=dealii.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;