[PATCH 1/4] Fix a couple of compiler warnings

Keith Packard keithp at keithp.com
Sat May 8 09:47:47 PDT 2010


On Sat, 8 May 2010 12:57:37 +0200, Julien Cristau <jcristau at debian.org> wrote:

> Can we make the stuff in InputAttributes const instead?

Yeah, that appears to mostly work. I can't figure out how to get this
line to compile:

    attrs.tags = xstrtokenize(udev_device_get_property_value(udev_device, "ID_INPUT.tags"), ",");

no matter how I decorate the declaration of 'tags' with 'const'. And, of
course, freeing the tags will take a cast.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100508/31120a72/attachment.pgp>


More information about the xorg-devel mailing list