mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
freedreno/pps: Fix a signed/unsigned complaint.
../src/freedreno/ds/fd_pps_driver.cc:656:44: error: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'const unsigned int' [-Werror=sign-compare]
656 | assert(d->assigned_counters[i] < g->num_counters);
cc1plus: all warnings being treated as errors
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20660>
This commit is contained in:
parent
302858c48c
commit
64455dc32b
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ private:
|
|||
* The number of counters assigned per perfcntr group, the index
|
||||
* into this matches the index into perfcntrs
|
||||
*/
|
||||
std::vector<int> assigned_counters;
|
||||
std::vector<unsigned> assigned_counters;
|
||||
|
||||
/*
|
||||
* Values that can be used by derived counters evaluation
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue