Hello, This patch is more instrusive since I changed the type of a number_of_packets in struct usbfs_urb from "int" to "unsigned int".
I think the number_of_packets (on indexes) can not be negatif but I am not authoritative about that. I also had to change other "int" to "unsigned int" as a side effect. Jekins: I propose to use a high level of warnings in the Jenkins compilation farms so that the potential problems are more easy to spot. My CFLAGS is "-Wall -g -O2 -Wextra -pipe -funsigned-char -fstrict-aliasing -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wunused -Wuninitialized -Wpointer-arith -Wredundant-decls -Winline -Wformat -Wformat-security -Wswitch-enum -Winit-self -Wmissing-include-dirs -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wbad-function-cast -Wnested-externs -Wmissing-declarations" Bye -- Dr. Ludovic Rousseau
0004-Fix-compiler-warnings.patch
Description: Binary data
------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel