~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_bitmap.h

  • Committer: Monty Taylor
  • Date: 2009-07-17 22:25:54 UTC
  • mto: (1093.1.20 captain)
  • mto: This revision was merged to the branch mainline in revision 1098.
  • Revision ID: mordred@inaugust.com-20090717222554-513791zlug0rzlkk
Some changes that I lost...

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)