From 8cb569b756c19125593e556efa7c380203ff3787 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 18 Jun 1998 19:55:01 +0000 Subject: Update. 1998-06-18 19:49 Ulrich Drepper * intl/dcgettext.c: use complete type name. * intl/hash-string.h: Likewise. * intl/localealias.c: Undo patch from 1998-04-29. * intl/l10nflist.c: Likewise. * intl/loadinfo.h: Likewise. --- intl/hash-string.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'intl/hash-string.h') diff --git a/intl/hash-string.h b/intl/hash-string.h index 68af3ec6f2..32ca018bda 100644 --- a/intl/hash-string.h +++ b/intl/hash-string.h @@ -36,9 +36,9 @@ /* Defines the so called `hashpjw' function by P.J. Weinberger [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools, 1986, 1987 Bell Telephone Laboratories, Inc.] */ -static unsigned long hash_string PARAMS ((const char *__str_param)); +static unsigned long int hash_string PARAMS ((const char *__str_param)); -static inline unsigned long +static inline unsigned long int hash_string (str_param) const char *str_param; { @@ -50,8 +50,8 @@ hash_string (str_param) while (*str != '\0') { hval <<= 4; - hval += (unsigned long) *str++; - g = hval & ((unsigned long) 0xf << (HASHWORDBITS - 4)); + hval += (unsigned long int) *str++; + g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4)); if (g != 0) { hval ^= g >> (HASHWORDBITS - 8); -- cgit 1.4.1