mapi/test: Change type to unsigned for offset
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 29 Jul 2020 04:10:57 +0000 (21:10 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 18:08:06 +0000 (18:08 +0000)
commite1a58ae7c464bc25c24efcbbbcd31c5919aae661
treef8316b803ec883d3d4baa869646e2da08d6916bd
parentc8749305f2624ea11daf8a4f0ccb2e4d4b76793a
mapi/test: Change type to unsigned for offset

Quiets this warning:

../../master/src/mapi/glapi/tests/check_table.cpp:576:20: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int' in initializer list [-Wc++11-narrowing]
   { "glColor3dv", _O(Color3dv) },
                   ^~~~~~~~~~~~

Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
src/mapi/glapi/tests/check_table.cpp