diff options
Diffstat (limited to 'storage/myisam/mi_checksum.c')
-rw-r--r-- | storage/myisam/mi_checksum.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/myisam/mi_checksum.c b/storage/myisam/mi_checksum.c index cfaac229717..4c10b28a653 100644 --- a/storage/myisam/mi_checksum.c +++ b/storage/myisam/mi_checksum.c @@ -40,8 +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((char*) &pos, buf+column->length- portable_sizeof_char_ptr, - sizeof(char*)); + memcpy(&pos, buf+column->length- portable_sizeof_char_ptr, sizeof(char*)); break; } case FIELD_VARCHAR: |