summaryrefslogtreecommitdiff
path: root/heap/hp_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'heap/hp_hash.c')
-rw-r--r--heap/hp_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/heap/hp_hash.c b/heap/hp_hash.c
index ee5b4958e62..8d2aa5e9fe9 100644
--- a/heap/hp_hash.c
+++ b/heap/hp_hash.c
@@ -120,7 +120,7 @@ byte *hp_search(HP_INFO *info, HP_KEYDEF *keyinfo, const byte *key,
{
switch (nextflag) {
case 0: /* Search after key */
- DBUG_PRINT("exit",("found key at %d",pos->ptr_to_rec));
+ DBUG_PRINT("exit",("found key at %lu", (ulong) pos->ptr_to_rec));
info->current_hash_ptr=pos;
DBUG_RETURN(info->current_ptr= pos->ptr_to_rec);
case 1: /* Search next */