From 870cf55287e68a344fe3c1ea7eccf887ad5b1bbc Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 12 Dec 2009 15:58:15 -0800 Subject: [PATCH] This should fix another checker warning. --- util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.34.1