~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_iocache2.cc

  • Committer: Monty Taylor
  • Date: 2008-11-07 00:35:38 UTC
  • mto: (575.1.8 devel)
  • mto: This revision was merged to the branch mainline in revision 579.
  • Revision ID: monty@inaugust.com-20081107003538-x48mj66gkbrdjcuc
Made mysys and mystrings c++. Fixed the resulting bugs the compiler found.

Show diffs side-by-side

added added

removed removed

Lines of Context:
396
396
      if (minimum_width > length2) 
397
397
      {
398
398
        const size_t buflen = minimum_width - length2;
399
 
        unsigned char *buffz= my_alloca(buflen);
 
399
        unsigned char *buffz= (unsigned char *)my_alloca(buflen);
400
400
        memset(buffz, is_zero_padded ? '0' : ' ', buflen);
401
401
        my_b_write(info, buffz, buflen);
402
402
        my_afree(buffz);