simple-egl: Fix -Wsign-compare compiler warning

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 <jadahl@gmail.com>
This commit is contained in:
Jonas Ådahl 2014-01-03 19:46:50 +01:00 committed by Kristian Høgsberg
parent 5f1ea4eb6f
commit 82fced41cc
1 changed files with 1 additions and 1 deletions

View File

@ -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;