summaryrefslogtreecommitdiff
path: root/tests/modetest/buffers.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-02-11 21:36:30 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-06-27 10:01:15 +0200
commit28fff480efe376b9783cdb6a4128036a2fb7c47e (patch)
treef651fe92a2b92415a99d4a5e6f51b1aa1d662f4b /tests/modetest/buffers.h
parent7214db763ab952771b10d8fdf72b902718f35902 (diff)
modetest: Fix warnings
Enable all standard automake warnings except for -Wpointer-arith (as the test pattern generation code uses void pointer arithmetics) and fix them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tests/modetest/buffers.h')
-rw-r--r--tests/modetest/buffers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/modetest/buffers.h b/tests/modetest/buffers.h
index 2b15ce50..e320389b 100644
--- a/tests/modetest/buffers.h
+++ b/tests/modetest/buffers.h
@@ -37,8 +37,9 @@ enum fill_pattern {
};
struct kms_bo *create_test_buffer(struct kms_driver *kms, unsigned int format,
- int width, int height, int handles[4], int pitches[4],
- int offsets[4], enum fill_pattern pattern);
+ unsigned int width, unsigned int height,
+ unsigned int handles[4], unsigned int pitches[4],
+ unsigned int offsets[4], enum fill_pattern pattern);
unsigned int format_fourcc(const char *name);