commit | dc082cb0718d2d07d259ffc02209cbb28714fbdc | [log] [tgz] |
---|---|---|
author | Daniel Stone <daniels@collabora.com> | Mon Jul 09 13:49:04 2018 +0100 |
committer | Daniel Stone <daniels@collabora.com> | Mon Jul 09 15:20:11 2018 +0100 |
tree | 457a11b1f2301b5116a726b2b1a95043d5bf2048 | |
parent | 7625577a4f8dd975a1ba3270d3b5eca1fdef7256 [diff] |
compositor-drm: Avoid cast by using unsigned loop index ARRAY_LENGTH returns a size_t; rather than casting its result to int so we can compare to our signed index variable, just declare the index as a compatible type in the first place. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>