From: Wayne Davison Date: Sat, 12 Dec 2009 23:58:15 +0000 (-0800) Subject: This should fix another checker warning. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/870cf55287e68a344fe3c1ea7eccf887ad5b1bbc This should fix another checker warning. --- diff --git a/util.c b/util.c index b01e64d8..c0580508 100644 --- a/util.c +++ b/util.c @@ -1435,11 +1435,11 @@ const char *find_filename_suffix(const char *fn, int fn_len, int *len_ptr) #define UNIT (1 << 16) -uint32 fuzzy_distance(const char *s1, int len1, const char *s2, int len2) +uint32 fuzzy_distance(const char *s1, unsigned len1, const char *s2, unsigned len2) { uint32 a[MAXPATHLEN], diag, above, left, diag_inc, above_inc, left_inc; int32 cost; - int i1, i2; + unsigned i1, i2; if (!len1 || !len2) { if (!len1) {