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:
committed by
Marge Bot
parent
c8749305f2
commit
e1a58ae7c4
@@ -29,7 +29,7 @@
|
||||
|
||||
struct name_offset {
|
||||
const char *name;
|
||||
int offset;
|
||||
unsigned int offset;
|
||||
};
|
||||
|
||||
extern const struct name_offset linux_gl_abi[];
|
||||
|
||||
Reference in New Issue
Block a user