mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 14:15:42 +00:00
Fix GCC8 compile warning
This commit is contained in:
@@ -602,7 +602,7 @@ std::vector<CounterResult> AMDCounters::GetCounterData(uint32_t sessionID, uint3
|
||||
|
||||
if(desc.unit == CounterUnit::Percentage)
|
||||
{
|
||||
value = RDCCLAMP(value, 0ULL, 100ULL);
|
||||
value = RDCCLAMP(value, (uint64_t)0ULL, (uint64_t)100ULL);
|
||||
}
|
||||
ret.push_back(CounterResult(eventIDs[s], counters[c], (uint64_t)value));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user