Corentin Wallez 762814bd92 ityp_array: Allow using a T whose underlying type is signed.
When trying to use ityp_array with an enum class whose underlying
type is int, warnings were fired because of a comparison between signed
and unsigned integers. Fix this by explicitly casting Size to `I` using
a constructor cast.

Bug: dawn:635
Change-Id: I5ee0101684e5847ec5ec6f71a9657fcce839a2a5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/38106
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2021-01-20 20:01:08 +00:00
..
2021-01-11 08:20:02 +00:00
2018-07-18 22:54:06 +02:00
2020-07-08 18:50:30 +00:00
2020-07-10 22:58:48 +00:00
2020-07-10 22:58:48 +00:00
2020-07-08 18:50:30 +00:00
2020-07-08 18:50:30 +00:00
2020-06-17 22:35:19 +00:00
2019-12-06 18:21:39 +00:00
2019-12-06 18:21:39 +00:00
2020-09-17 23:30:40 +00:00
2020-06-17 22:35:19 +00:00
2020-07-08 18:50:30 +00:00