Fix GCC8 compile warning

This commit is contained in:
baldurk
2018-05-24 21:53:42 +01:00
parent c82ff2de93
commit 9702d214c0
+1 -1
View File
@@ -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));
}