diff options
author | monty@butch. <> | 2002-11-07 03:54:00 +0200 |
---|---|---|
committer | monty@butch. <> | 2002-11-07 03:54:00 +0200 |
commit | a2bdf9265f3a0874f8d58bec690da4af07bca4cb (patch) | |
tree | 2cbd26b72e2ab9ce6d8a7e6cf96fab865fec9834 /sql/hash_filo.h | |
parent | 5333cfb4298899c0985fc07f229c99866ef656cc (diff) | |
download | mariadb-git-a2bdf9265f3a0874f8d58bec690da4af07bca4cb.tar.gz |
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
Diffstat (limited to 'sql/hash_filo.h')
-rw-r--r-- | sql/hash_filo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/hash_filo.h b/sql/hash_filo.h index b8d45f0d3be..34584b45d8c 100644 --- a/sql/hash_filo.h +++ b/sql/hash_filo.h @@ -40,7 +40,7 @@ class hash_filo { const uint size, key_offset, key_length; const hash_get_key get_key; - void (*free_element)(void*); + hash_free_key free_element; bool init; hash_filo_element *first_link,*last_link; @@ -49,7 +49,7 @@ public: HASH cache; hash_filo(uint size_arg, uint key_offset_arg , uint key_length_arg, - hash_get_key get_key_arg,void (*free_element_arg)(void*)) + hash_get_key get_key_arg, hash_free_key free_element_arg) :size(size_arg), key_offset(key_offset_arg), key_length(key_length_arg), get_key(get_key_arg), free_element(free_element_arg),init(0) { |