From 9dceda8a0346cb2218213d163d7c8d202cb1439a Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 15 Mar 2016 19:21:04 +0100 Subject: [PATCH] Fix Clang warnings --- tests/icon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/icon.c b/tests/icon.c index 9144a71a..09742a9d 100644 --- a/tests/icon.c +++ b/tests/icon.c @@ -69,8 +69,8 @@ static int cur_icon_color = 0; static void set_icon(GLFWwindow* window, int icon_color) { int x, y; - char pixels[16 * 16 * 4]; - char* target = pixels; + unsigned char pixels[16 * 16 * 4]; + unsigned char* target = pixels; GLFWimage img = { 16, 16, pixels }; for (y = 0; y < img.width; y++)