From 64455dc32b599a7a440def0310564f07273a7c74 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Wed, 11 Jan 2023 16:32:00 -0800 Subject: [PATCH] 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, 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: --- src/freedreno/ds/fd_pps_driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedreno/ds/fd_pps_driver.h b/src/freedreno/ds/fd_pps_driver.h index 5db3c175b6c..51749d0ce5b 100644 --- a/src/freedreno/ds/fd_pps_driver.h +++ b/src/freedreno/ds/fd_pps_driver.h @@ -59,7 +59,7 @@ private: * The number of counters assigned per perfcntr group, the index * into this matches the index into perfcntrs */ - std::vector assigned_counters; + std::vector assigned_counters; /* * Values that can be used by derived counters evaluation