Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't list the possible routings in DTD. We want to add more w/o changing the DTD
[simgrid.git] / src / surf / xml / surfxml_parseplatf.cpp
index 1a0e0ad..638d2f5 100644 (file)
@@ -61,7 +61,7 @@ void sg_platf_trace_connect(simgrid::kernel::routing::TraceConnectCreationArgs*
 void parse_platform_file(const std::string& file)
 {
   const char* cfile = file.c_str();
-  int len           = strlen(cfile);
+  size_t len        = strlen(cfile);
   bool is_lua       = len > 3 && file[len - 3] == 'l' && file[len - 2] == 'u' && file[len - 1] == 'a';
 
   sg_platf_init();