Fix comparison between signed and unsigned integer compiler warnings

This commit is contained in:
Guillem Jover
2013-05-25 15:36:11 +02:00
parent 30349f8922
commit 7c4caa679a
3 changed files with 4 additions and 3 deletions

View File

@@ -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;