* fix warnings in mail
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38271 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6ff66b0bc0
commit
b401b82842
@ -421,9 +421,8 @@ WIndex::NormalizeWord(const char *word, char *dest)
|
||||
*dst = 0;
|
||||
|
||||
// convert to lower-case
|
||||
dst = dest;
|
||||
while (*dst)
|
||||
*dst++ = tolower(*dst);
|
||||
for (dst = dest; *dst; dst++)
|
||||
*dst = tolower(*dst);
|
||||
return dest;
|
||||
}
|
||||
|
||||
|
@ -498,7 +498,7 @@ word_match(const char* reference, const char* test)
|
||||
s2++;
|
||||
}
|
||||
// Equivalent Character
|
||||
else if (vsvfn[c1] == vsvfn[c2])
|
||||
else if (vsvfn[(unsigned)c1] == vsvfn[(unsigned)c2])
|
||||
x++;
|
||||
// Unrelated Character
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user