diff options
author | unknown <monty@hundin.mysql.fi> | 2001-09-15 16:22:34 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-09-15 16:22:34 +0300 |
commit | 7dc2f1a69e61a4370ae06edc77de0fd5bf98e6fb (patch) | |
tree | 8783b1d57a27183a301b7fdfaaf671cf498a7e8e /sql/uniques.cc | |
parent | ef2e750842f4f913ef93c404e4d2d05e95a4cfd0 (diff) | |
download | mariadb-git-7dc2f1a69e61a4370ae06edc77de0fd5bf98e6fb.tar.gz |
Portability fixes
libmysql/libmysql.c:
Cleanup & portability fixes
Diffstat (limited to 'sql/uniques.cc')
-rw-r--r-- | sql/uniques.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/uniques.cc b/sql/uniques.cc index ee1da0f661b..bd3ca6db0d0 100644 --- a/sql/uniques.cc +++ b/sql/uniques.cc @@ -75,7 +75,8 @@ bool Unique::flush() int unique_write_to_file(gptr key, element_count count, Unique *unique) { - return my_b_write(&unique->file, key, unique->tree.size_of_element) ? 1 : 0; + return my_b_write(&unique->file, (byte*) key, + unique->tree.size_of_element) ? 1 : 0; } int unique_write_to_ptrs(gptr key, element_count count, Unique *unique) |