diff options
author | 2020-01-27 21:07:50 +0100 | |
---|---|---|
committer | 2020-01-27 22:09:50 +0100 | |
commit | 69907da5c98b673cffeb5263941815c9e95be6b5 (patch) | |
tree | b312a9836528d4118218ee6f8b79787bb0da2f2b /src/firejail/sandbox.c | |
parent | Fix indentation for dhcp client code (diff) | |
download | firejail-69907da5c98b673cffeb5263941815c9e95be6b5.tar.gz firejail-69907da5c98b673cffeb5263941815c9e95be6b5.tar.zst firejail-69907da5c98b673cffeb5263941815c9e95be6b5.zip |
Fix unsigned comparison error (#3174)
Diffstat (limited to 'src/firejail/sandbox.c')
-rw-r--r-- | src/firejail/sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index a14cf5a81..96ad30bed 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -337,7 +337,7 @@ static int monitor_application(pid_t app_pid) { | |||
337 | continue; | 337 | continue; |
338 | if (pid == 1) | 338 | if (pid == 1) |
339 | continue; | 339 | continue; |
340 | if (pid == dhclient4_pid || pid == dhclient6_pid) | 340 | if ((pid_t) pid == dhclient4_pid || (pid_t) pid == dhclient6_pid) |
341 | continue; | 341 | continue; |
342 | 342 | ||
343 | // todo: make this generic | 343 | // todo: make this generic |