diff options
author | 2019-12-14 16:17:28 +0100 | |
---|---|---|
committer | 2019-12-14 16:17:28 +0100 | |
commit | 90f9598b63f684966a0e3a063d8cfd6b125ea065 (patch) | |
tree | e6d7e5d345086bfb50e50d4fd98e2bf12c7fac38 /qlop.c | |
parent | qkeyword: default to ARCH when no arch given (diff) | |
download | portage-utils-90f9598b63f684966a0e3a063d8cfd6b125ea065.tar.gz portage-utils-90f9598b63f684966a0e3a063d8cfd6b125ea065.tar.bz2 portage-utils-90f9598b63f684966a0e3a063d8cfd6b125ea065.zip |
qlop: fix signedness warning
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'qlop.c')
-rw-r--r-- | qlop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 && |