diff options
Diffstat (limited to 'heap/hp_rprev.c')
-rw-r--r-- | heap/hp_rprev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/heap/hp_rprev.c b/heap/hp_rprev.c index 071746fa3de..d8f5c01dcea 100644 --- a/heap/hp_rprev.c +++ b/heap/hp_rprev.c @@ -47,7 +47,8 @@ int heap_rprev(HP_INFO *info, byte *record) } if (pos) { - memcpy(&pos, pos + hp_rb_key_length(keyinfo, pos), sizeof(byte*)); + memcpy(&pos, pos + (*keyinfo->get_key_length)(keyinfo, pos), + sizeof(byte*)); info->current_ptr = pos; } else |