mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-04 19:00:31 +01:00
gallium/aux/tgsi/tgsi_dump.c: Fix -Wsign-compare warnings
tgsi_dump.c: In function 'iter_property':
tgsi_dump.c:443:18: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
for (i = 0; i < prop->Property.NrTokens - 1; ++i) {
^
tgsi_dump.c:459:13: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
if (i < prop->Property.NrTokens - 2)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
03ac9708cf
commit
fc9e259e58
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ iter_property(
|
|||
struct tgsi_iterate_context *iter,
|
||||
struct tgsi_full_property *prop )
|
||||
{
|
||||
unsigned i;
|
||||
int i;
|
||||
struct dump_ctx *ctx = (struct dump_ctx *)iter;
|
||||
|
||||
TXT( "PROPERTY " );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue