From 82fced41ccc4a8da2781b59deb4d80ffae0b7629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 3 Jan 2014 19:46:50 +0100 Subject: [PATCH] simple-egl: Fix -Wsign-compare compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the following compiler warning: simple-egl.c:434:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] Signed-off-by: Jonas Ã…dahl --- clients/simple-egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/simple-egl.c b/clients/simple-egl.c index 2c009ee2..5b0393e4 100644 --- a/clients/simple-egl.c +++ b/clients/simple-egl.c @@ -412,7 +412,7 @@ redraw(void *data, struct wl_callback *callback, uint32_t time) { 0, 0, 1, 0 }, { 0, 0, 0, 1 } }; - static const int32_t speed_div = 5, benchmark_interval = 5; + static const uint32_t speed_div = 5, benchmark_interval = 5; struct wl_region *region; EGLint rect[4]; EGLint buffer_age = 0;