bug 349: workaround compiler bug
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Fri, 17 Oct 2008 13:11:39 +0200
changeset 3762 622a33a8820c
parent 3761 8aed4fbf8f35
child 3763 e46e361a4262
bug 349: workaround compiler bug
src/common/tag-list.cc
--- a/src/common/tag-list.cc	Fri Oct 17 10:35:14 2008 +0200
+++ b/src/common/tag-list.cc	Fri Oct 17 13:11:39 2008 +0200
@@ -72,10 +72,8 @@
   struct Item item = Item (TagBuffer (m_current+16, m_end));
   item.tid.SetUid (m_nextTid);
   item.size = m_nextSize;
-  item.start = m_nextStart;
-  item.end = m_nextEnd;
-  item.start = std::max (item.start, m_offsetStart);
-  item.end = std::min (item.end, m_offsetEnd);
+  item.start = std::max (m_nextStart, m_offsetStart);
+  item.end = std::min (m_nextEnd, m_offsetEnd);
   m_current += 4 + 4 + 4 + 4 + item.size;
   item.buf.TrimAtEnd (m_end - m_current);
   PrepareForNext ();