-/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2013-2022. 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. */
static void print_node_id(const_node_t node)
{
- XBT_INFO(" Id: %i '%08x' ", node->id, (unsigned)node->id);
+ XBT_INFO(" Id: %i '%08x'", node->id, (unsigned)node->id);
}
/* Print the node namespace set */
}
node->namespace_set[NAMESPACE_SIZE / 2 + j] = message->sender_id;
node->ready += message->steps + 1;
- /* no break */
+ /* fallthrough */
case JOIN_REPLY:
XBT_DEBUG("Joining Reply");
char** options = &argv[1];
while (!strncmp(options[0], "-", 1)) {
- int length = strlen("-nb_bits=");
+ size_t length = strlen("-nb_bits=");
if (!strncmp(options[0], "-nb_bits=", length) && strlen(options[0]) > length) {
nb_bits = (int)xbt_str_parse_int(options[0] + length, "Invalid nb_bits parameter");
XBT_DEBUG("Set nb_bits to %d", nb_bits);