summaryrefslogtreecommitdiff
path: root/myisam/mi_check.c
diff options
context:
space:
mode:
authorunknown <venu@myvenu.com>2003-01-28 21:02:20 -0800
committerunknown <venu@myvenu.com>2003-01-28 21:02:20 -0800
commit735cc9d722b1b0abe961d8d8130dbf52d9d30414 (patch)
tree0d2f858aa57583def97cae6a9c302e5a4fd514ca /myisam/mi_check.c
parenta5f01a1adaf84df00259824f547168e69671c2d7 (diff)
downloadmariadb-git-735cc9d722b1b0abe961d8d8130dbf52d9d30414.tar.gz
Fix for windows specific errors
Diffstat (limited to 'myisam/mi_check.c')
-rw-r--r--myisam/mi_check.c2
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;