Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mention 2010 in the main copyright.
[rsync/rsync.git]
/
util.c
diff --git
a/util.c
b/util.c
index
b01e64d
..
c058050
100644
(file)
--- 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)
#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;
{
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) {
if (!len1 || !len2) {
if (!len1) {