]> AND Public Git Repository - simgrid.git/blobdiff - teshsuite/mc/mutex-handling/mutex-handling.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' into depencencies
[simgrid.git] / teshsuite / mc / mutex-handling / mutex-handling.c
index c367cdf7581e02cdfa34fb6f1a9ce035690290f2..da35e9aab82ed2749b319d22ad9f990b1bd58dcd 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2015-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. */
@@ -48,7 +48,7 @@ static int receiver(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
 static int sender(int argc, char *argv[])
 {
   xbt_assert(argc == 2);
-  char* message_name = argv[1];
+  const char* message_name = argv[1];
 #ifndef DISABLE_THE_MUTEX
   sg_mutex_lock(mutex);
 #endif