mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
glsl: silence signed/unsigned comparison warning
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
c5b4a5b967
commit
5513f01f72
1 changed files with 1 additions and 1 deletions
|
|
@ -1100,7 +1100,7 @@ ir_constant *
|
|||
ir_constant::get_record_field(int idx)
|
||||
{
|
||||
assert(this->type->is_record());
|
||||
assert(idx >= 0 && idx < this->type->length);
|
||||
assert(idx >= 0 && (unsigned) idx < this->type->length);
|
||||
|
||||
return const_elements[idx];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue