~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_bitmap.cc

  • Committer: Monty Taylor
  • Date: 2010-10-06 18:22:02 UTC
  • mto: (1818.1.1 build) (1821.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1819.
  • Revision ID: mordred@inaugust.com-20101006182202-bzj2dpg6gnmbgghh
Fixed some more ICC warnings. How did I get started on this this morning?

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    Create a mask with the upper 'unused' bits set and the lower 'used'
36
36
    bits clear. The bits within each byte is stored in big-endian order.
37
37
   */
38
 
  unsigned char const mask= static_cast<unsigned char const>((~((1 << used) - 1)) & 255); 
 
38
  unsigned char const mask= static_cast<unsigned char>((~((1 << used) - 1)) & 255); 
39
39
 
40
40
  /*
41
41
    The first bytes are to be set to zero since they represent real  bits