summaryrefslogtreecommitdiff
path: root/storage/heap/hp_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/heap/hp_open.c')
-rw-r--r--storage/heap/hp_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/heap/hp_open.c b/storage/heap/hp_open.c
index fc7397989f2..43b366639bb 100644
--- a/storage/heap/hp_open.c
+++ b/storage/heap/hp_open.c
@@ -30,7 +30,7 @@ HP_INFO *heap_open_from_share(HP_SHARE *share, int mode)
HP_INFO *info;
DBUG_ENTER("heap_open_from_share");
- if (!(info= (HP_INFO*) my_malloc((uint) sizeof(HP_INFO) +
+ if (!(info= (HP_INFO*) my_malloc(sizeof(HP_INFO) +
2 * share->max_key_length,
MYF(MY_ZEROFILL +
(share->internal ?
@@ -49,7 +49,7 @@ HP_INFO *heap_open_from_share(HP_SHARE *share, int mode)
#ifndef DBUG_OFF
info->opt_flag= READ_CHECK_USED; /* Check when changing */
#endif
- DBUG_PRINT("exit",("heap: 0x%lx reclength: %d records_in_block: %d",
+ DBUG_PRINT("exit",("heap: 0x%lx reclength: %d records_in_block: %lu",
(long) info, share->reclength,
share->block.records_in_block));
DBUG_RETURN(info);