X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6fd166d6132c999bfa781b58a5372c7cbdfe36b2..e8a7500b69476b76f596e2a52209fd1abdd1969d:/src/smpi/smpi_info.cpp diff --git a/src/smpi/smpi_info.cpp b/src/smpi/smpi_info.cpp index 8b9fb64ba8..9690b78e32 100644 --- a/src/smpi/smpi_info.cpp +++ b/src/smpi/smpi_info.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2015. The SimGrid Team. +/* Copyright (c) 2007-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -91,7 +91,7 @@ int Info::get_nthkey(int n, char *key){ int Info::get_valuelen(char *key, int *valuelen, int *flag){ *flag=false; - char* tmpvalue=(char*)xbt_dict_get_or_null(dict_, key); + char* tmpvalue=static_cast(xbt_dict_get_or_null(dict_, key)); if(tmpvalue){ *valuelen=strlen(tmpvalue); *flag=true;