From d904acf448ed12b8ae0f3423e7ee4f4a146a3710 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 18 Feb 2008 13:37:58 +0000 Subject: Fix a signed error. --- src/librc/librc-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3