summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorreggie@linux.site <>2005-07-11 06:14:42 -0600
committerreggie@linux.site <>2005-07-11 06:14:42 -0600
commit7de0a018004afa226c26bb5c145312afca9449b9 (patch)
treedd81d292b3bfd292c99d0c0b86176ceaa81cec77 /sql
parentd502f28f1cf2809a5e8d1401181f3ff7eb5d4b52 (diff)
downloadmariadb-git-7de0a018004afa226c26bb5c145312afca9449b9.tar.gz
ha_archive.cc:
Added cast to fix windows compile error
Diffstat (limited to 'sql')
-rw-r--r--sql/examples/ha_archive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/examples/ha_archive.cc b/sql/examples/ha_archive.cc
index 5ce249e9c61..c362985f565 100644
--- a/sql/examples/ha_archive.cc
+++ b/sql/examples/ha_archive.cc
@@ -877,7 +877,7 @@ int ha_archive::optimize(THD* thd, HA_CHECK_OPT* check_opt)
}
}
- my_free(buf, MYF(0));
+ my_free((char*)buf, MYF(0));
if (rc && rc != HA_ERR_END_OF_FILE)
goto error;
}