diff options
author | Michael Widenius <monty@mariadb.org> | 2014-03-11 16:53:24 +0200 |
---|---|---|
committer | Michael Widenius <monty@mariadb.org> | 2014-03-11 16:53:24 +0200 |
commit | 800a278fd09c353a02f02c9c32074d3807861967 (patch) | |
tree | ce83df84936053a694474dc1632e7869073a503a /sql/unireg.cc | |
parent | 599eb0dc8632da402af65f600777cfaf3c3d513e (diff) | |
download | mariadb-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.cc | 2 |
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)) |