tabs->spaces
This commit is contained in:
+9
-9
@@ -4,16 +4,16 @@ uint32_t
|
||||
uc_pjwhash(const char *str,size_t len)
|
||||
{
|
||||
|
||||
unsigned h = 0, g;
|
||||
unsigned h = 0, g;
|
||||
|
||||
while (len--) {
|
||||
h = (h << 4) + *str++;
|
||||
if ((g = h & 0xf0000000)) {
|
||||
h ^= (g >> 24);
|
||||
h ^= g;
|
||||
}
|
||||
}
|
||||
while (len--) {
|
||||
h = (h << 4) + *str++;
|
||||
if ((g = h & 0xf0000000)) {
|
||||
h ^= (g >> 24);
|
||||
h ^= g;
|
||||
}
|
||||
}
|
||||
|
||||
return h;
|
||||
return h;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user