From 2d07d29d15cb7ab36082c8cbff8106442c1bede2 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 4 Jan 2014 14:09:28 +0000 Subject: Use C99 uint32_t, not BSD-style u_int32_t. Needed for Solaris 10 as reported by Matthias Scheler. --- compat_ohash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compat_ohash.c') diff --git a/compat_ohash.c b/compat_ohash.c index 802f458d..17add257 100644 --- a/compat_ohash.c +++ b/compat_ohash.c @@ -17,7 +17,7 @@ int dummy; #include "compat_ohash.h" struct _ohash_record { - u_int32_t hv; + uint32_t hv; const char *p; }; @@ -328,7 +328,7 @@ ohash_qlookup(struct ohash *h, const char *s) unsigned int ohash_qlookupi(struct ohash *h, const char *s, const char **e) { - u_int32_t hv; + uint32_t hv; hv = ohash_interval(s, e); return ohash_lookup_interval(h, s, *e, hv); -- cgit v1.2.3-56-ge451