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:
committed by
Kristian Høgsberg
parent
5f1ea4eb6f
commit
82fced41cc
@@ -412,7 +412,7 @@ redraw(void *data, struct wl_callback *callback, uint32_t time)
|
|||||||
{ 0, 0, 1, 0 },
|
{ 0, 0, 1, 0 },
|
||||||
{ 0, 0, 0, 1 }
|
{ 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;
|
struct wl_region *region;
|
||||||
EGLint rect[4];
|
EGLint rect[4];
|
||||||
EGLint buffer_age = 0;
|
EGLint buffer_age = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user