mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
Mark the dixChangeWindowProperty() value argument as const
It is copied using memcpy() and not modified so we can add const. This fixes a -Wincompatible-pointer-types-discards-qualifiers compiler warning that was failing a -Werror XVnc build for me. Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
This commit is contained in:
committed by
Povilas Kanapickas
parent
fb5322ce28
commit
d83c84bd9d
@@ -72,7 +72,7 @@ extern _X_EXPORT int dixChangeWindowProperty(ClientPtr pClient,
|
||||
int format,
|
||||
int mode,
|
||||
unsigned long len,
|
||||
void *value,
|
||||
const void *value,
|
||||
Bool sendevent);
|
||||
|
||||
extern _X_EXPORT int DeleteProperty(ClientPtr /*client */ ,
|
||||
|
||||
Reference in New Issue
Block a user