diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-02-11 21:36:30 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-08-05 14:21:43 +0200 |
commit | ca9c8f06e0f560082dcd0943e9be29ba9a915ee3 (patch) | |
tree | 8722c056cb3c39499ba08a27fb5bba27ebe0bbd4 /tests/modetest/buffers.h | |
parent | 6e8f868e034531b66a215e4e6d978b43b58b92d0 (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.h | 5 |
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); |