summaryrefslogtreecommitdiff
path: root/sql/examples
diff options
context:
space:
mode:
authorunknown <reggie@linux.site>2005-07-11 06:14:42 -0600
committerunknown <reggie@linux.site>2005-07-11 06:14:42 -0600
commit313bda9eee9a1790c2c7e79cdc6900a4c31fbe50 (patch)
treedd81d292b3bfd292c99d0c0b86176ceaa81cec77 /sql/examples
parent799299a5e50b872fb71d55e353983d6c15d782ab (diff)
downloadmariadb-git-313bda9eee9a1790c2c7e79cdc6900a4c31fbe50.tar.gz
ha_archive.cc:
Added cast to fix windows compile error sql/examples/ha_archive.cc: Added cast to fix windows compile error
Diffstat (limited to 'sql/examples')
-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;
}