summaryrefslogtreecommitdiff
path: root/sql/unireg.cc
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2014-03-11 16:53:24 +0200
committerMichael Widenius <monty@mariadb.org>2014-03-11 16:53:24 +0200
commit800a278fd09c353a02f02c9c32074d3807861967 (patch)
treece83df84936053a694474dc1632e7869073a503a /sql/unireg.cc
parent599eb0dc8632da402af65f600777cfaf3c3d513e (diff)
downloadmariadb-git-800a278fd09c353a02f02c9c32074d3807861967.tar.gz
Fixed a compiler failure and removed some warnings in windows
extra/replace.c: Removed compiler warning sql/unireg.cc: Removed compiler warning storage/maria/ma_blockrec.c: Removed compiler warning storage/maria/ma_dynrec.c: Fixed compiler failure storage/maria/ma_unique.c: Removed compiler warning storage/myisam/mi_check.c: Removed compiler warning storage/myisam/mi_checksum.c: Removed compiler warning
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r--sql/unireg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc
index edcfe9eb934..528c3025c57 100644
--- a/sql/unireg.cc
+++ b/sql/unireg.cc
@@ -971,7 +971,7 @@ static bool pack_fields(File file, List<Create_field> &create_fields,
while ((field=it++))
{
char *pos= strmov((char*) buff,field->field_name);
- *pos++=NAMES_SEP_CHAR;
+ * (uchar*) pos++= (uchar) NAMES_SEP_CHAR;
if (i == create_fields.elements-1)
*pos++=0;
if (mysql_file_write(file, buff, (size_t) (pos-(char*) buff), MYF_RW))