@@ 2284,8 2284,8 @@ lpfloat_t lpstofreq(lpfloat_t seconds) {
/* FNV-1 hash implementation adapted from:
* http://www.isthe.com/chongo/src/fnv/hash_32.c */
-u_int32_t lphashstr(char * str) {
- u_int32_t hval = FNV1_32_MAGIC_NUMBER;
+uint32_t lphashstr(char * str) {
+ uint32_t hval = FNV1_32_MAGIC_NUMBER;
unsigned char *s = (unsigned char *)str; /* unsigned string */
/* FNV-1 hash each octet in the buffer */
@@ 2294,7 2294,7 @@ u_int32_t lphashstr(char * str) {
hval += (hval<<1) + (hval<<4) + (hval<<7) + (hval<<8) + (hval<<24);
/* xor the bottom with the current octet */
- hval ^= (u_int32_t)*s++;
+ hval ^= (uint32_t)*s++;
}
/* return our new hash value */