mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
sql_bitmap.h:
corrected compile error on some platforms sql/sql_bitmap.h: corrected compile error on some platforms
This commit is contained in:
@ -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); }
|
||||||
|
Reference in New Issue
Block a user