X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9bfa71c7201013012f9aba67044617f1739bd358..0879f7b24ef5f62121c260ef9d22054e10e0e078:/src/surf/PropertyHolder.cpp diff --git a/src/surf/PropertyHolder.cpp b/src/surf/PropertyHolder.cpp index 48f372fb52..0683cc37e3 100644 --- a/src/surf/PropertyHolder.cpp +++ b/src/surf/PropertyHolder.cpp @@ -19,7 +19,7 @@ PropertyHolder::~PropertyHolder() { const char *PropertyHolder::getProperty(const char*key) { if (properties_ == nullptr) return nullptr; - return (const char*) xbt_dict_get_or_null(properties_,key); + return static_cast(xbt_dict_get_or_null(properties_,key)); } /** @brief Change the value of a given key in the property set */