diff options
Diffstat (limited to 'myisam/mi_check.c')
-rw-r--r-- | myisam/mi_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c index 271c6a55c8c..abd6cdde657 100644 --- a/myisam/mi_check.c +++ b/myisam/mi_check.c @@ -3193,7 +3193,7 @@ static int sort_ft_key_write(MI_SORT_PARAM *sort_param, const void *a) } /* storing the key in the buffer. */ - memcpy (ft_buf->buf, a+val_off, val_len); + memcpy (ft_buf->buf, (char *)a+val_off, val_len); ft_buf->buf+=val_len; if (ft_buf->buf < ft_buf->end) return 0; |