[PATCH:libXRes] Const fix.

Alan Coopersmith alan.coopersmith at oracle.com
Sun Jun 2 16:32:03 PDT 2013


On 06/ 2/13 01:12 PM, Thomas Klausner wrote:
> ---
>   src/XRes.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/XRes.c b/src/XRes.c
> index 51e905f..aef32ce 100644
> --- a/src/XRes.c
> +++ b/src/XRes.c
> @@ -28,7 +28,7 @@ static inline void _XEatDataWords(Display *dpy, unsigned long n)
>
>   static XExtensionInfo _xres_ext_info_data;
>   static XExtensionInfo *xres_ext_info = &_xres_ext_info_data;
> -static const char *xres_extension_name = XRES_NAME;
> +static char *xres_extension_name = XRES_NAME;
>
>   #define XResCheckExtension(dpy,i,val) \
>     XextCheckExtension (dpy, i, xres_extension_name, val)
>

NAK, same as previous patches in this vein.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list