aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qlop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qlop.c b/qlop.c
index d8e1d583..7cc8f44d 100644
--- a/qlop.c
+++ b/qlop.c
@@ -1109,7 +1109,7 @@ static array_t *probe_proc(array_t *atoms)
rpath[rpathlen] = '\0';
/* check if this points to a portage build:
* <somepath>/portage/<cat>/<pf>/temp/build.log */
- if (rpathlen > sizeof("/temp/build.log") &&
+ if ((size_t)rpathlen > sizeof("/temp/build.log") &&
strcmp(rpath + rpathlen -
(sizeof("/temp/build.log") - 1),
"/temp/build.log") == 0 &&