~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_bitmap.h

  • Committer: Brian Aker
  • Date: 2009-07-21 00:55:33 UTC
  • mfrom: (1093.1.21 captain)
  • Revision ID: brian@gaz-20090721005533-ran2v2otw7tbmiym
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
 
81
81
static inline void bitmap_set_bit(MY_BITMAP const *map, uint32_t bit)
82
82
{
83
 
  ((unsigned char *)map->bitmap)[bit / 8] |= (1 << ((bit) & 7));
 
83
  ((unsigned char *)map->bitmap)[bit / 8] |= (unsigned char)(1 << ((bit) & 7));
84
84
}
85
85
 
86
86
static inline void bitmap_flip_bit(MY_BITMAP const *map, uint32_t bit)