summaryrefslogtreecommitdiff
path: root/sql/hostname.cc
diff options
context:
space:
mode:
authormonty@butch. <>2002-11-07 03:54:00 +0200
committermonty@butch. <>2002-11-07 03:54:00 +0200
commita2bdf9265f3a0874f8d58bec690da4af07bca4cb (patch)
tree2cbd26b72e2ab9ce6d8a7e6cf96fab865fec9834 /sql/hostname.cc
parent5333cfb4298899c0985fc07f229c99866ef656cc (diff)
downloadmariadb-git-a2bdf9265f3a0874f8d58bec690da4af07bca4cb.tar.gz
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
Diffstat (limited to 'sql/hostname.cc')
-rw-r--r--sql/hostname.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hostname.cc b/sql/hostname.cc
index abccc466a22..be035e52ac1 100644
--- a/sql/hostname.cc
+++ b/sql/hostname.cc
@@ -63,7 +63,7 @@ bool hostname_cache_init()
if (!(hostname_cache=new hash_filo(HOST_CACHE_SIZE, offset,
sizeof(struct in_addr),NULL,
- (void (*)(void*)) free)))
+ (hash_free_key) free)))
return 1;
hostname_cache->clear();
return 0;