X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2319c71fd8f21f5d2ed4b1e3f8b2922c2705ffcb..df0ad90cff845556fb7bb2a6fd6e2c10196f5776:/src/surf/xml/surfxml_parseplatf.cpp diff --git a/src/surf/xml/surfxml_parseplatf.cpp b/src/surf/xml/surfxml_parseplatf.cpp index 7800a145b8..756c7d6f2a 100644 --- a/src/surf/xml/surfxml_parseplatf.cpp +++ b/src/surf/xml/surfxml_parseplatf.cpp @@ -62,7 +62,7 @@ void parse_platform_file(const std::string& file) { const char* cfile = file.c_str(); int len = strlen(cfile); - int is_lua = len > 3 && file[len - 3] == 'l' && file[len - 2] == 'u' && file[len - 1] == 'a'; + bool is_lua = len > 3 && file[len - 3] == 'l' && file[len - 2] == 'u' && file[len - 1] == 'a'; sg_platf_init();