~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_open.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:
263
263
        disk_pos=mi_keydef_read(disk_pos, &share->keyinfo[i]);
264
264
        disk_pos_assert(disk_pos + share->keyinfo[i].keysegs * HA_KEYSEG_SIZE,
265
265
                        end_pos);
266
 
        set_if_smaller(share->blocksize,share->keyinfo[i].block_length);
 
266
        set_if_smaller(share->blocksize,(uint)share->keyinfo[i].block_length);
267
267
        share->keyinfo[i].seg=pos;
268
268
        for (j=0 ; j < share->keyinfo[i].keysegs; j++,pos++)
269
269
        {