diff options
author | reggie@fedora.(none) <> | 2005-09-15 14:32:01 -0500 |
---|---|---|
committer | reggie@fedora.(none) <> | 2005-09-15 14:32:01 -0500 |
commit | 66e6453e2a6e32ac00b8300e8c6b76ba628e5e9c (patch) | |
tree | 80680fe7b1fe491576584192c59a10e8b0ef2af2 /sql/unireg.cc | |
parent | d8bd92895d2c7273e4bf0aaaf4b90efc42086a6a (diff) | |
download | mariadb-git-66e6453e2a6e32ac00b8300e8c6b76ba628e5e9c.tar.gz |
some last minute Windows compile fixes and makefile corrections
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r-- | sql/unireg.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc index 1ac8be0f49a..d297b143d3b 100644 --- a/sql/unireg.cc +++ b/sql/unireg.cc @@ -153,8 +153,8 @@ bool mysql_create_frm(THD *thd, my_string file_name, { char buff[2]; int2store(buff,create_info->connect_string.length); - if (my_write(file, buff, sizeof(buff), MYF(MY_NABP)) || - my_write(file, create_info->connect_string.str, + if (my_write(file, (const byte*)buff, sizeof(buff), MYF(MY_NABP)) || + my_write(file, (const byte*)create_info->connect_string.str, create_info->connect_string.length, MYF(MY_NABP))) goto err; } |