diff options
Diffstat (limited to 'storage/myisam/mi_checksum.c')
-rw-r--r-- | storage/myisam/mi_checksum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/myisam/mi_checksum.c b/storage/myisam/mi_checksum.c index b89fd996ba1..baee85566c2 100644 --- a/storage/myisam/mi_checksum.c +++ b/storage/myisam/mi_checksum.c @@ -40,7 +40,7 @@ ha_checksum mi_checksum(MI_INFO *info, const uchar *buf) length=_mi_calc_blob_length(column->length- portable_sizeof_char_ptr, buf); - memcpy(&pos, buf+column->length - portable_sizeof_char_ptr, + memcpy((void*) &pos, buf+column->length - portable_sizeof_char_ptr, sizeof(char*)); break; } |