diff --git a/storage/heap/hp_write.c b/storage/heap/hp_write.c index 42d924d8f2d..990fcebcd63 100644 --- a/storage/heap/hp_write.c +++ b/storage/heap/hp_write.c @@ -107,7 +107,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);