diff options
author | 2018-03-23 14:16:31 +0100 | |
---|---|---|
committer | 2018-03-23 14:16:31 +0100 | |
commit | bf111d7d5464f8a6b3a251d3d12fe9e39357bc6e (patch) | |
tree | bb50841005853e42bf1d60fb5045d3a253ece4d2 /qsearch.c | |
parent | getline: fix comparison of integers of different signs (diff) | |
download | portage-utils-bf111d7d5464f8a6b3a251d3d12fe9e39357bc6e.tar.gz portage-utils-bf111d7d5464f8a6b3a251d3d12fe9e39357bc6e.tar.bz2 portage-utils-bf111d7d5464f8a6b3a251d3d12fe9e39357bc6e.zip |
fix signedness warnings
Diffstat (limited to 'qsearch.c')
-rw-r--r-- | qsearch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ qsearch_ebuild_ebuild(int overlay_fd, const char *ebuild, const char *search_me, int linelen; size_t buflen; while ((linelen = getline(&buf, &buflen, ebuildfp)) >= 0) { - if (linelen <= search_len) + if ((size_t)linelen <= search_len) continue; if (strncmp(buf, search_var, search_len) != 0) continue; |