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>
This commit is contained in:
Kristian H. Kristensen 2020-07-28 21:10:57 -07:00 committed by Marge Bot
parent c8749305f2
commit e1a58ae7c4
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
struct name_offset {
const char *name;
int offset;
unsigned int offset;
};
extern const struct name_offset linux_gl_abi[];