diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-01-31 06:22:38 +0100 |
---|---|---|
committer | Owain G. Ainsworth <oga@openbsd.org> | 2011-03-16 20:16:14 +0000 |
commit | 5609f8e235fd30ae3e8c71a31727ce49bce57c24 (patch) | |
tree | 07a15cd0ce0bc2ce80dc30325122f8ea59a888a9 /COPYING | |
parent | 4a9abdf9beee1a0f825934a7afdecc9f277bfe97 (diff) |
xvmc: Silence gcc, adding a cast to work around signedness issues.
Both exported XvMCPutSlice/XvMCPutSlice2 functions have a prototype with a
parameter whose signedness differs from the one in the put_slice/put_slice2
functions they call. Make it unsigned through a cast.
Get rid of this accordingly with CFLAGS="-Wall -Werror":
| CC intel_xvmc.lo
| cc1: warnings being treated as errors
| intel_xvmc.c: In function ‘XvMCSyncSurface’:
| intel_xvmc.c:677: error: ‘ret’ may be used uninitialized in this function
| intel_xvmc.c:672: note: ‘ret’ was declared here
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit 86284abafbe1364f82509d2656c82ba11cdce6cc)
Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions