tests: fixup igt_simple_main fallout

Oops, I should look at compilier warnings a bit better.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-01-10 09:21:15 +01:00
parent 7775fca2df
commit cb9e8376fa
5 changed files with 7 additions and 14 deletions
+1 -2
View File
@@ -209,8 +209,7 @@ igt_simple_main
fd = drm_open_any();
if (!test_can_pin(fd))
return 77;
igt_require(test_can_pin(fd));
handle = malloc(sizeof(uint32_t)*100);
offset = malloc(sizeof(uint32_t)*100);