summaryrefslogtreecommitdiff
path: root/tests/vbltest
diff options
context:
space:
mode:
authorJan Vesely <jan.vesely@rutgers.edu>2014-11-30 12:53:18 -0500
committerJan Vesely <jan.vesely@rutgers.edu>2015-02-10 15:25:28 -0500
commitde8532dd8359dfdaba839ff61fc9e2f05eaf57d3 (patch)
tree1e360fd714028ed930971921f2db23533e2bf46f /tests/vbltest
parent6ce06202ddcb979db47b67a508db96ed049f0768 (diff)
Fix gcc -Wextra warnings
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Ian Romanick <idr@freedesktop.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'tests/vbltest')
-rw-r--r--tests/vbltest/vbltest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c
index cdc1ef6b..6e13c57c 100644
--- a/tests/vbltest/vbltest.c
+++ b/tests/vbltest/vbltest.c
@@ -104,7 +104,8 @@ static void usage(char *name)
int main(int argc, char **argv)
{
- int i, c, fd, ret;
+ unsigned i;
+ int c, fd, ret;
char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "exynos", "omapdrm", "tilcdc", "msm", "tegra" };
drmVBlank vbl;
drmEventContext evctx;