mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
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:
parent
c8749305f2
commit
e1a58ae7c4
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
struct name_offset {
|
||||
const char *name;
|
||||
int offset;
|
||||
unsigned int offset;
|
||||
};
|
||||
|
||||
extern const struct name_offset linux_gl_abi[];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue