Address splint warnings.

This commit is contained in:
Andrew Wood
2024-12-01 16:05:17 +00:00
parent aee34fce32
commit 0d7c9ac091
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -619,7 +619,7 @@ opts_t opts_parse(unsigned int argc, char **argv)
}
break;
case 'R':
opts->remote = pv_getnum_count(optarg, false);
opts->remote = (pid_t) pv_getnum_count(optarg, false);
break;
case 'P':
opts->pidfile = pv_strdup(optarg);