Fix braino.

This commit is contained in:
Bartosz Taudul 2017-11-19 19:13:43 +01:00
parent 7a4c6b3d68
commit a4e909a740

View File

@ -645,10 +645,9 @@ void View::ProcessZoneBeginAllocSrcLoc( const QueueZoneBegin& ev )
zone->start = ev.time * m_timerMul;
zone->end = -1;
zone->srcloc = 0;
zone->srcloc = it->second;
assert( ev.cpu == 0xFFFFFFFF || ev.cpu <= std::numeric_limits<int8_t>::max() );
zone->cpu_start = ev.cpu == 0xFFFFFFFF ? -1 : (int8_t)ev.cpu;
zone->srcloc = it->second;
NewZone( zone, ev.thread );