~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_check.cc

  • Committer: Nathan Williams
  • Date: 2009-06-29 20:32:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1082.
  • Revision ID: nathanlws@gmail.com-20090629203249-bmunsclkuev2033a
Fixed type differences for min/max calls on OSX.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1988
1988
  char tmp_buff[IO_SIZE],*buff;
1989
1989
  ulong buff_length;
1990
1990
 
1991
 
  buff_length=(ulong) min(param->write_buffer_length,length);
 
1991
  buff_length=(ulong) min(param->write_buffer_length, (size_t)length);
1992
1992
  if (!(buff=(char *)malloc(buff_length)))
1993
1993
  {
1994
1994
    buff=tmp_buff; buff_length=IO_SIZE;