summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 1799a3d260f..f320710fb9a 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -763,7 +763,7 @@ static bool create_key_infos(const uchar *strpos, const uchar *frm_image_end,
bzero((char*) keyinfo, len);
key_part= reinterpret_cast<KEY_PART_INFO*> (keyinfo);
}
- bzero(first_keyinfo, sizeof(*first_keyinfo));
+ bzero((char*)first_keyinfo, sizeof(*first_keyinfo));
/*
If share->use_ext_keys is set to TRUE we assume that any not