]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/xml/surfxml_parseplatf.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use signals for smpi tracing of execs
[simgrid.git] / src / surf / xml / surfxml_parseplatf.cpp
index 7800a145b87c33a7f8bc4bfe5bca49aad54e9add..1a0e0add214f1d4cf7073471a1b157b57e995318 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2006-2020. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -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();