Changeset 6021 for branches/newapi

Show
Ignore:
Timestamp:
01/11/08 07:32:08 (11 months ago)
Author:
eugene
Message:

And another one...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/newapi/licq/src/event/test/eventqueuetest.cpp

    r5975 r6021  
    3838BOOST_AUTO_TEST_CASE(basic) 
    3939{ 
    40   const size_t count = 5; 
     40  const ssize_t count = 5; 
    4141  boost::shared_ptr<Licq::Event> event[count]; 
    4242  Licq::Event::Id id[count]; 
    4343 
    4444  // Setup some events 
    45   for (size_t i = 0; i < count; i++) 
     45  for (ssize_t i = 0; i < count; i++) 
    4646  { 
    4747    event[i] = Licq::Event::create("test"); 
     
    6565 
    6666  // Push events in order 
    67   for (size_t i = 0; i < count; i++) 
     67  for (ssize_t i = 0; i < count; i++) 
    6868    queue.push(event[i]); 
    6969 
     
    7171 
    7272  // The queue should maintain order 
    73   for (size_t i = 0; i < count; i++) 
     73  for (ssize_t i = 0; i < count; i++) 
    7474  { 
    7575    temp = queue.pop();