projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f1ea4e
)
simple-egl: Fix -Wsign-compare compiler warning
author
Jonas Ådahl
<jadahl@gmail.com>
Fri, 3 Jan 2014 18:46:50 +0000
(19:46 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 28 Jan 2014 05:12:33 +0000
(21:12 -0800)
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>
clients/simple-egl.c
patch
|
blob
|
history
diff --git
a/clients/simple-egl.c
b/clients/simple-egl.c
index
2c009ee
..
5b0393e
100644
(file)
--- 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
u
int32_t speed_div = 5, benchmark_interval = 5;
struct wl_region *region;
EGLint rect[4];
EGLint buffer_age = 0;