~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/csv/transparent_file.cc

  • Committer: Brian Aker
  • Date: 2008-10-06 05:57:49 UTC
  • Revision ID: brian@tangent.org-20081006055749-svg700gciuqi0zu1
Remove all of uchar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
Transparent_file::Transparent_file() : lower_bound(0), buff_size(IO_SIZE)
24
24
25
 
  buff= (uchar *) my_malloc(buff_size*sizeof(uchar),  MYF(MY_WME)); 
 
25
  buff= (unsigned char *) my_malloc(buff_size*sizeof(unsigned char),  MYF(MY_WME)); 
26
26
}
27
27
 
28
28
Transparent_file::~Transparent_file()
29
29
30
 
  free((uchar*)buff); 
 
30
  free((unsigned char*)buff); 
31
31
}
32
32
 
33
33
void Transparent_file::init_buff(File filedes_arg)
40
40
    upper_bound= my_read(filedes, buff, buff_size, MYF(0));
41
41
}
42
42
 
43
 
uchar *Transparent_file::ptr()
 
43
unsigned char *Transparent_file::ptr()
44
44
45
45
  return buff; 
46
46
}