~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_bitmap.cc

  • Committer: lbieber
  • Date: 2010-10-07 02:59:11 UTC
  • mfrom: (1818.1.2 build)
  • Revision ID: lbieber@orisndriz08-20101007025911-rz1n8q23hrwxks6v
Merge Brian - Fix a large number of warning issues on ICC. sql_string becomes 64bit
Merge Monty - clean up ICC warnings

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