From e8225073649844a43bc4ea6362a5df5e6210933b Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 29 Apr 2007 11:56:23 +0500 Subject: Patch to eliminate compilation errors under VC after bug #13191 fix. --- sql/key.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/key.cc') diff --git a/sql/key.cc b/sql/key.cc index d57d1570da7..5bb389fcb45 100644 --- a/sql/key.cc +++ b/sql/key.cc @@ -101,9 +101,9 @@ void key_copy(byte *key,TABLE *table,uint idx,uint key_length) length= min(key_length, key_part->length); Field *field= key_part->field; CHARSET_INFO *cs= field->charset(); - uint bytes= field->get_key_image(key, length, cs, Field::itRAW); + uint bytes= field->get_key_image((char *) key, length, cs, Field::itRAW); if (bytes < length) - cs->cset->fill(cs, key + bytes, length - bytes, ' '); + cs->cset->fill(cs, (char *) key + bytes, length - bytes, ' '); } key+=length; key_length-=length; -- cgit v1.2.1