Xi: change XIChangeDeviceProperty from const pointer to const void *
According to Daniel Kurtz, a typedef void *pointer is a atomic type. So a 'const pointer' is equivalent to 'void* const' instead of the intended 'const void*'. This technically changes the ABI, but we don't bump it for this. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
		
							parent
							
								
									223ba8b46e
								
							
						
					
					
						commit
						ed8f3c4bd1
					
				|  | @ -706,7 +706,7 @@ XIDeleteDeviceProperty (DeviceIntPtr device, Atom property, Bool fromClient) | ||||||
| int | int | ||||||
| XIChangeDeviceProperty (DeviceIntPtr dev, Atom property, Atom type, | XIChangeDeviceProperty (DeviceIntPtr dev, Atom property, Atom type, | ||||||
|                         int format, int mode, unsigned long len, |                         int format, int mode, unsigned long len, | ||||||
|                         const pointer value, Bool sendevent) |                         const void *value, Bool sendevent) | ||||||
| { | { | ||||||
|     XIPropertyPtr               prop; |     XIPropertyPtr               prop; | ||||||
|     int                         size_in_bytes; |     int                         size_in_bytes; | ||||||
|  |  | ||||||
|  | @ -92,7 +92,7 @@ extern _X_EXPORT int XIChangeDeviceProperty( | ||||||
|         int                     /* format*/, |         int                     /* format*/, | ||||||
|         int                     /* mode*/, |         int                     /* mode*/, | ||||||
|         unsigned long           /* len*/, |         unsigned long           /* len*/, | ||||||
|         const pointer           /* value*/, |         const void*             /* value*/, | ||||||
|         Bool                    /* sendevent*/ |         Bool                    /* sendevent*/ | ||||||
|         ); |         ); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue