From 4b5d82355daac2ba088d17e0ca91fb29709866eb Mon Sep 17 00:00:00 2001 From: Millian Poquet Date: Thu, 7 Jan 2016 22:24:05 +0100 Subject: [PATCH] Warning removal: switched the next_pid variable in MSG_process_create_with_environment from int to unsigned int --- src/msg/msg_process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msg/msg_process.cpp b/src/msg/msg_process.cpp index 5b0d531421..5d588bdf95 100644 --- a/src/msg/msg_process.cpp +++ b/src/msg/msg_process.cpp @@ -168,7 +168,7 @@ msg_process_t MSG_process_create_with_environment(const char *name, /* The TRACE process is created before the SIMIX one * to avoid issues when SIMIX decides to start the new * process right now (before returning the flow control). */ - int next_pid = SIMIX_process_get_maxpid(); + unsigned int next_pid = SIMIX_process_get_maxpid(); TRACE_msg_process_create(name, next_pid, host); /* Let's create the process: SIMIX may decide to start it right now, -- 2.20.1