sql_bitmap.h:

corrected compile error on some platforms
This commit is contained in:
tomas@poseidon.ndb.mysql.com 2005-06-02 23:47:31 +02:00
parent d5e7d650f0
commit e9307aaca9

View File

@ -48,7 +48,7 @@ public:
void intersect(ulonglong map2buff) void intersect(ulonglong map2buff)
{ {
MY_BITMAP map2; MY_BITMAP map2;
bitmap_init(&map2, (uchar *)&map2buff, sizeof(ulonglong)*8, 0); bitmap_init(&map2, (uint32 *)&map2buff, sizeof(ulonglong)*8, 0);
bitmap_intersect(&map, &map2); bitmap_intersect(&map, &map2);
} }
void subtract(Bitmap& map2) { bitmap_subtract(&map, &map2.map); } void subtract(Bitmap& map2) { bitmap_subtract(&map, &map2.map); }