mirror of
https://github.com/glfw/glfw.git
synced 2026-02-17 21:12:34 +01:00
Win32: Fix VS static analysis warnings
This commit is contained in:
@@ -446,7 +446,7 @@ void _glfwTerminateEGL(void)
|
||||
|
||||
#define setAttrib(a, v) \
|
||||
{ \
|
||||
assert((size_t) (index + 1) < sizeof(attribs) / sizeof(attribs[0])); \
|
||||
assert(((size_t) index + 1) < sizeof(attribs) / sizeof(attribs[0])); \
|
||||
attribs[index++] = a; \
|
||||
attribs[index++] = v; \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user