summaryrefslogtreecommitdiff
path: root/storage/maria/ma_checksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_checksum.c')
-rw-r--r--storage/maria/ma_checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_checksum.c b/storage/maria/ma_checksum.c
index da2d40d3687..48b29946cea 100644
--- a/storage/maria/ma_checksum.c
+++ b/storage/maria/ma_checksum.c
@@ -58,7 +58,7 @@ ha_checksum _ma_checksum(MARIA_HA *info, const uchar *record)
length= _ma_calc_blob_length(blob_size_length, pos);
if (length)
{
- memcpy(&pos, pos + blob_size_length, sizeof(char*));
+ memcpy((char**) &pos, pos + blob_size_length, sizeof(char*));
crc= my_checksum(crc, pos, length);
}
continue;