~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_dynrec.c

  • Committer: Stewart Smith
  • Date: 2009-03-18 00:29:24 UTC
  • mto: (942.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 945.
  • Revision ID: stewart@flamingspork.com-20090318002924-gixoh4t5mhbw8qyz
make set_if_bigger typesafe for C and C++. Fix up everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
873
873
              */
874
874
              my_off_t next_pos;
875
875
              ulong rest_length= length-MI_MAX_BLOCK_LENGTH;
876
 
              set_if_bigger(rest_length, MI_MIN_BLOCK_LENGTH);
 
876
              set_if_bigger(rest_length, (ulong)MI_MIN_BLOCK_LENGTH);
877
877
              next_pos= del_block.filepos+ del_block.block_len - rest_length;
878
878
 
879
879
              if (update_backward_delete_link(info, info->s->state.dellink,