~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/queues.cc

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
554
554
    if (j++ >= no_loops)
555
555
    {
556
556
      calculate_end_next(part);
557
 
      queue_remove(queue, (uint) 0);
 
557
      queue_remove(queue, (uint32_t) 0);
558
558
    }
559
559
    else
560
560
    {
601
601
  uint32_t time_in_micros;
602
602
  stop_time-= start_time;
603
603
  stop_time/= 10; /* Convert to microseconds */
604
 
  time_in_micros= (uint)stop_time;
 
604
  time_in_micros= (uint32_t)stop_time;
605
605
  printf("Time expired is %u microseconds \n", time_in_micros);
606
606
}
607
607
 
659
659
    queue_replaced(queue);
660
660
  }
661
661
  for (i= 0; i < 16; i++)
662
 
    queue_remove(queue, (uint) 0);
 
662
    queue_remove(queue, (uint32_t) 0);
663
663
  queue_remove_all(queue);
664
664
  stop_measurement();
665
665
}