[PATCH xinput] Handle XA_CARDINAL as property type
James Cloos
cloos at jhcloos.com
Tue Feb 21 12:43:52 PST 2012
>>>>> "PH" == Peter Hutterer <peter.hutterer at who-t.net> writes:
I didn't look in any real detail, but shouldn't the types and percents
be the same in each block? Eg:
PH> + case 32:
PH> + printf("%lu", *((unsigned long*)ptr));
PH> + break;
PH> + case 32:
PH> + printf("%u", *((uint32_t*)ptr));
PH> + break;
-JimC
--
James Cloos <cloos at jhcloos.com> OpenPGP: 1024D/ED7DAEA6
More information about the xorg-devel
mailing list