Module Name: xsrc Committed By: wiz Date: Thu Jul 12 13:16:52 UTC 2012
Modified Files: xsrc/external/mit/xsetpointer/dist: xsetpointer.c Log Message: Instead of local patch, use official upstream fix. commit 1326fcb6afe5a62b675bf99826f7e628c66237b4 Author: Paulo Cesar Pereira de Andrade <p...@mandriva.com.br> Date: Thu Jan 15 16:15:23 2009 -0200 Ansification and compile warning fixes. This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and most gcc 4.3 and sparse warnings. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/xsetpointer/dist/xsetpointer.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/xsetpointer/dist/xsetpointer.c diff -u xsrc/external/mit/xsetpointer/dist/xsetpointer.c:1.2 xsrc/external/mit/xsetpointer/dist/xsetpointer.c:1.3 --- xsrc/external/mit/xsetpointer/dist/xsetpointer.c:1.2 Thu Aug 11 22:37:06 2011 +++ xsrc/external/mit/xsetpointer/dist/xsetpointer.c Thu Jul 12 13:16:52 2012 @@ -103,7 +103,7 @@ main(int argc, char * argv[]) for(loop=0; loop<num_devices; loop++) { if (list) { - printf("%lu: \"%s\" [", (unsigned long)devices[loop].id, devices[loop].name ? devices[loop].name : "<noname>"); + printf("%d: \"%s\" [", (int)devices[loop].id, devices[loop].name ? devices[loop].name : "<noname>"); switch(devices[loop].use) { case IsXPointer: printf("XPointer]\n");