mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-21 07:45:04 +02:00
Fix comparison between signed and unsigned integer compiler warnings
This commit is contained in:
@@ -175,7 +175,7 @@ r_sort_a(const u_char **a, int n, int i, const u_char *tr, u_int endch)
|
||||
* character at position i, move on to the next
|
||||
* character.
|
||||
*/
|
||||
if (nc == 1 && count[bmin] == n) {
|
||||
if (nc == 1 && count[bmin] == (u_int)n) {
|
||||
push(a, n, i+1);
|
||||
nc = count[bmin] = 0;
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user