mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 03:52:01 +00:00
Fix Clang warnings
This commit is contained in:
parent
4e4b8727fc
commit
9dceda8a03
@ -69,8 +69,8 @@ static int cur_icon_color = 0;
|
|||||||
static void set_icon(GLFWwindow* window, int icon_color)
|
static void set_icon(GLFWwindow* window, int icon_color)
|
||||||
{
|
{
|
||||||
int x, y;
|
int x, y;
|
||||||
char pixels[16 * 16 * 4];
|
unsigned char pixels[16 * 16 * 4];
|
||||||
char* target = pixels;
|
unsigned char* target = pixels;
|
||||||
GLFWimage img = { 16, 16, pixels };
|
GLFWimage img = { 16, 16, pixels };
|
||||||
|
|
||||||
for (y = 0; y < img.width; y++)
|
for (y = 0; y < img.width; y++)
|
||||||
|
Loading…
Reference in New Issue
Block a user