~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_radix.c

  • Committer: Brian Aker
  • Date: 2008-07-22 18:31:32 UTC
  • Revision ID: brian@tangent.org-20080722183132-ne2ntl7g7mdf2eez
uint32 -> uin32_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
void radixsort_for_str_ptr(uchar **base, uint number_of_elements, size_t size_of_element, uchar **buffer)
29
29
{
30
30
  uchar **end,**ptr,**buffer_ptr;
31
 
  uint32 *count_ptr,*count_end,count[256];
 
31
  uint32_t *count_ptr,*count_end,count[256];
32
32
  int pass;
33
33
 
34
34
  end=base+number_of_elements; count_end=count+256;
35
35
  for (pass=(int) size_of_element-1 ; pass >= 0 ; pass--)
36
36
  {
37
 
    bzero((uchar*) count,sizeof(uint32)*256);
 
37
    bzero((uchar*) count,sizeof(uint32_t)*256);
38
38
    for (ptr= base ; ptr < end ; ptr++)
39
39
      count[ptr[0][pass]]++;
40
40
    if (count[0] == number_of_elements)