Re: [PATCH:libXrandr] Constify a couple string arguments that are just copied, not modified

2012-09-01 Thread Aaron Plattner
On 08/31/2012 09:40 PM, Alan Coopersmith wrote: Fixes compiler warnings when building app/xrandr: xrandr.c: In function ‘crtc_set_transform’: xrandr.c:1459:9: warning: passing argument 4 of ‘XRRSetCrtcTransform’ discards qualifiers from pointer target type X11/extensions/Xrandr.h:419:1: note: e

[PATCH:libXrandr] Constify a couple string arguments that are just copied, not modified

2012-08-31 Thread Alan Coopersmith
Fixes compiler warnings when building app/xrandr: xrandr.c: In function ‘crtc_set_transform’: xrandr.c:1459:9: warning: passing argument 4 of ‘XRRSetCrtcTransform’ discards qualifiers from pointer target type X11/extensions/Xrandr.h:419:1: note: expected ‘char *’ but argument is of type ‘const c