View | Details | Raw Unified | Return to bug 1387
Collapse All | Expand All

(-)a/src/core/model/calendar-scheduler.cc (-2 / +2 lines)
 Lines 125-131    Link Here 
125
  NS_ASSERT (!IsEmpty ());
125
  NS_ASSERT (!IsEmpty ());
126
  uint32_t i = m_lastBucket;
126
  uint32_t i = m_lastBucket;
127
  uint64_t bucketTop = m_bucketTop;
127
  uint64_t bucketTop = m_bucketTop;
128
  Scheduler::Event minEvent = { 0, { ~0, ~0}};
128
  Scheduler::Event minEvent = { static_cast<uint64_t>(0), { static_cast<uint32_t>(~0), static_cast<uint32_t>(~0)}};
129
  do
129
  do
130
    {
130
    {
131
      if (!m_buckets[i].empty ())
131
      if (!m_buckets[i].empty ())
 Lines 154-160    Link Here 
154
{
154
{
155
  uint32_t i = m_lastBucket;
155
  uint32_t i = m_lastBucket;
156
  uint64_t bucketTop = m_bucketTop;
156
  uint64_t bucketTop = m_bucketTop;
157
  Scheduler::Event minEvent = { 0, { ~0, ~0}};
157
  Scheduler::Event minEvent = { static_cast<uint64_t>(0), { static_cast<uint32_t>(~0), static_cast<uint32_t>(~0)}};
158
  do
158
  do
159
    {
159
    {
160
      if (!m_buckets[i].empty ())
160
      if (!m_buckets[i].empty ())

Return to bug 1387