diff --git a/storage/heap/hp_write.c b/storage/heap/hp_write.c index 5996d9b2682..d67b55b6481 100644 --- a/storage/heap/hp_write.c +++ b/storage/heap/hp_write.c @@ -106,7 +106,7 @@ int hp_rb_write_key(HP_INFO *info, HP_KEYDEF *keyinfo, const uchar *record, uchar *recpos) { heap_rb_param custom_arg; - uint old_allocated; + size_t old_allocated; custom_arg.keyseg= keyinfo->seg; custom_arg.key_length= hp_rb_make_key(keyinfo, info->recbuf, record, recpos);