summaryrefslogtreecommitdiff
path: root/storage/heap/hp_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/heap/hp_write.c')
-rw-r--r--storage/heap/hp_write.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/heap/hp_write.c b/storage/heap/hp_write.c
index c6205508a90..a1d81fd808d 100644
--- a/storage/heap/hp_write.c
+++ b/storage/heap/hp_write.c
@@ -144,7 +144,7 @@ static uchar *next_free_record_pos(HP_SHARE *info)
pos=info->del_link;
info->del_link= *((uchar**) pos);
info->deleted--;
- DBUG_PRINT("exit",("Used old position: 0x%lx",(long) pos));
+ DBUG_PRINT("exit",("Used old position: %p", pos));
DBUG_RETURN(pos);
}
if (!(block_pos=(info->records % info->block.records_in_block)))
@@ -166,9 +166,9 @@ static uchar *next_free_record_pos(HP_SHARE *info)
DBUG_RETURN(NULL);
info->data_length+=length;
}
- DBUG_PRINT("exit",("Used new position: 0x%lx",
- (long) ((uchar*) info->block.level_info[0].last_blocks+
- block_pos * info->block.recbuffer)));
+ DBUG_PRINT("exit",("Used new position: %p",
+ ((uchar*) info->block.level_info[0].last_blocks+
+ block_pos * info->block.recbuffer)));
DBUG_RETURN((uchar*) info->block.level_info[0].last_blocks+
block_pos*info->block.recbuffer);
}