aboutsummaryrefslogtreecommitdiff
path: root/src/librc/librc-daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc/librc-daemon.c')
-rw-r--r--src/librc/librc-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/librc-daemon.c b/src/librc/librc-daemon.c
index 2622f383..02f217e2 100644
--- a/src/librc/librc-daemon.c
+++ b/src/librc/librc-daemon.c
@@ -102,7 +102,7 @@ static bool pid_is_exec (pid_t pid, const char *const *argv)
return (false);
argv++;
p += strlen (p) + 1;
- if (p - buffer > (unsigned) sizeof (buffer))
+ if ((unsigned) (p - buffer) > sizeof (buffer))
return (false);
}
return (true);