summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/htop.c b/htop.c
index ff5dc875..82ba8bc2 100644
--- a/htop.c
+++ b/htop.c
@@ -215,7 +215,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
assert(optarg); /* please clang analyzer, cause optarg can be NULL in the 'u' case */
char* argCopy = xStrdup(optarg);
char* saveptr;
- char* pid = strtok_r(argCopy, ",", &saveptr);
+ const char* pid = strtok_r(argCopy, ",", &saveptr);
if(!flags.pidMatchList) {
flags.pidMatchList = Hashtable_new(8, false);