mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
backends/eis-client: Fix type of index
libei uses as index size_t. To avoid a potential endless loop due to overflow, fix that type accordingly. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3273>
This commit is contained in:
parent
83454e944b
commit
4c5db8e3bd
@ -228,7 +228,7 @@ has_region (struct eis_device *eis_device,
|
||||
int width,
|
||||
int height)
|
||||
{
|
||||
int i = 0;
|
||||
size_t i = 0;
|
||||
|
||||
while (TRUE)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user