From bba1d694e9269a67fa9f72e9b5ab06696bb89090 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 22 Oct 2013 22:48:44 +0000 Subject: [PATCH] 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 --- deal.II/source/base/parameter_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5