My bad. I also prefer avoiding struct duplication, on the grounds that it's cumbersome and cast are better avoided, but without adding the API define in libusb.h, that's what I saw as least likely to cause issues. Especially, I don't see a #define MaxPower bMaxPower as something we'd want to encourage.
Regards, /Pete ------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel