1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fixed compiler error for Windows in the patch for bug 30219.

This commit is contained in:
unknown
2007-08-05 17:12:57 -07:00
parent e106b09ad3
commit 29e8718970

View File

@ -1432,7 +1432,7 @@ public:
int cmp(const char *a, const char *b)
{
DBUG_ASSERT(ptr == a);
return Field_bit::key_cmp(b, bytes_in_rec+test(bit_len));
return Field_bit::key_cmp((const byte *) b, bytes_in_rec+test(bit_len));
}
int key_cmp(const byte *a, const byte *b)
{ return cmp_binary((char *) a, (char *) b); }