From 2309cd7f6415e2908f25c73440e49818bd426de0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 19 Sep 2001 04:16:35 +0000 Subject: Fix (I hope) compile on HP-UX. Found by the build farm. (This used to be commit fd5c67d35a3e9eaee6c54151c5fd9381a47c7b14) --- source3/lib/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/hash.c') diff --git a/source3/lib/hash.c b/source3/lib/hash.c index 6c81931152..44cd640b8d 100644 --- a/source3/lib/hash.c +++ b/source3/lib/hash.c @@ -192,7 +192,7 @@ hash_element *hash_insert(hash_table *table, char *value, char *key) bucket = hash_elem->bucket; ubi_dlRemThis(&(table->lru_chain), &(hash_elem->lru_link.lru_link)); ubi_dlRemThis(bucket, (ubi_dlNodePtr)hash_elem); - SAFE_FREE((char*)(hash_elem->value)); + SAFE_FREE(hash_elem->value); SAFE_FREE(hash_elem); } else { table->num_elements += 1; -- cgit