(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
							
								
									c4e3772198
								
							
						
					
					
						commit
						559fe589cc
					
				| 
						 | 
				
			
			@ -1019,8 +1019,8 @@ ProcXvQueryImageAttributes(ClientPtr client)
 | 
			
		|||
    CARD16 width, height;
 | 
			
		||||
    XvImagePtr pImage = NULL;
 | 
			
		||||
    XvPortPtr pPort;
 | 
			
		||||
    int *offsets;
 | 
			
		||||
    int *pitches;
 | 
			
		||||
    int32_t *offsets;
 | 
			
		||||
    int32_t *pitches;
 | 
			
		||||
    int planeLength;
 | 
			
		||||
 | 
			
		||||
    REQUEST(xvQueryImageAttributesReq);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue