(submit/cleanup-xv-dispatch) Xext: xv: use int32_t in ProcXvQueryImageAttributes()
Make sure it's really a 32bit integer, since we're hard-casting since we're relying on the buffer being made of 32bit integers (and treating it like CARD32's). If we encounter an arch, where int isn't 32bits, the compiler should shout out loud now. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
7700e014f0
commit
1503e0eccf
|
|
@ -1019,8 +1019,8 @@ ProcXvQueryImageAttributes(ClientPtr client)
|
||||||
CARD16 width, height;
|
CARD16 width, height;
|
||||||
XvImagePtr pImage = NULL;
|
XvImagePtr pImage = NULL;
|
||||||
XvPortPtr pPort;
|
XvPortPtr pPort;
|
||||||
int *offsets;
|
int32_t *offsets;
|
||||||
int *pitches;
|
int32_t *pitches;
|
||||||
int planeLength;
|
int planeLength;
|
||||||
|
|
||||||
REQUEST(xvQueryImageAttributesReq);
|
REQUEST(xvQueryImageAttributesReq);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue