In fnv_64_str(), replace u_register_t (which NetBSD doesn't have) with

Fnv32_t, since it's only going to store an 8 bit number anyway.
This commit is contained in:
lukem 2001-11-19 05:29:02 +00:00
parent 98576a36a5
commit 118c24bff7
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ static __inline Fnv64_t
fnv_64_str(const char *str, Fnv64_t hval)
{
const u_int8_t *s = (const u_int8_t *)str;
u_register_t c; /* 32 bit on i386, 64 bit on alpha,ia64 */
Fnv32_t c;
while ((c = *s++) != 0) {
hval *= FNV_64_PRIME;