~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_bitmap.h

  • Committer: Brian Aker
  • Date: 2008-07-22 18:31:32 UTC
  • Revision ID: brian@tangent.org-20080722183132-ne2ntl7g7mdf2eez
uint32 -> uin32_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
template <uint default_width> class Bitmap
27
27
{
28
28
  MY_BITMAP map;
29
 
  uint32 buffer[(default_width+31)/32];
 
29
  uint32_t buffer[(default_width+31)/32];
30
30
public:
31
31
  Bitmap() { init(); }
32
32
  Bitmap(const Bitmap& from) { *this=from; }
49
49
  void intersect(uint64_t map2buff)
50
50
  {
51
51
    MY_BITMAP map2;
52
 
    bitmap_init(&map2, (uint32 *)&map2buff, sizeof(uint64_t)*8, 0);
 
52
    bitmap_init(&map2, (uint32_t *)&map2buff, sizeof(uint64_t)*8, 0);
53
53
    bitmap_intersect(&map, &map2);
54
54
  }
55
55
  /* Use highest bit for all bits above sizeof(uint64_t)*8. */