summaryrefslogtreecommitdiff
path: root/mysys/hash.c
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-03-20 13:35:00 +0200
committerGeorgi Kodinov <joro@sun.com>2009-03-20 13:35:00 +0200
commit26adc3cdc75815533fe47f978d6fa04d8562b643 (patch)
treeff862eedd3307459f87be3135935888bf0f046f1 /mysys/hash.c
parent07d3da54fc7e75926fbd8f4c23805f6a6f89618e (diff)
downloadmariadb-git-26adc3cdc75815533fe47f978d6fa04d8562b643.tar.gz
Fixed a prototype to match the actual function signature (addendum to the
fix for 29125).
Diffstat (limited to 'mysys/hash.c')
-rw-r--r--mysys/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/hash.c b/mysys/hash.c
index 0b44782aeb5..e7b5352af34 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -33,7 +33,7 @@ typedef struct st_hash_info {
uchar *data; /* data for current entry */
} HASH_LINK;
-static uint my_hash_mask(uint hashnr, uint buffmax, uint maxlength);
+static uint my_hash_mask(size_t hashnr, size_t buffmax, size_t maxlength);
static void movelink(HASH_LINK *array,uint pos,uint next_link,uint newlink);
static int hashcmp(const HASH *hash, HASH_LINK *pos, const uchar *key,
size_t length);