diff options
Diffstat (limited to 'storage/maria/ma_check.c')
-rw-r--r-- | storage/maria/ma_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ma_check.c b/storage/maria/ma_check.c index 970391a2c70..316a1a06ccc 100644 --- a/storage/maria/ma_check.c +++ b/storage/maria/ma_check.c @@ -3202,7 +3202,7 @@ static int write_page(MARIA_SHARE *share, File file, args.pageno= (pgcache_page_no_t) (pos / share->block_size); args.data= (uchar*) share; (* share->kfile.pre_write_hook)(&args); - res= my_pwrite(file, args.page, block_size, pos, myf_rw); + res= (int)my_pwrite(file, args.page, block_size, pos, myf_rw); (* share->kfile.post_write_hook)(res, &args); return res; } |