Re: [Libusbx-devel] libusbx Windows warnings

2013-08-13 Thread Pete Batard
On 2013.08.13 00:19, Xiaofan Chen wrote: > The x86 build > will not have the warning, the x64 version will have the warning. Aha. Now that makes sense, and I got the warning too. Fixed and pushed. Regards, /Pete -- Ge

Re: [Libusbx-devel] libusbx Windows warnings

2013-08-12 Thread Xiaofan Chen
On Tue, Aug 13, 2013 at 4:45 AM, Pete Batard wrote: > On 2013.08.12 14:15, Xiaofan Chen wrote: >> Just tried VS2012 under Windows 8 and there is a warning >> for latest git tree. It is probably better to fix this as well for >> 1.0.17 release. >> >> ..\libusb\os\windows_usb.c(1768): warning C4267:

Re: [Libusbx-devel] libusbx Windows warnings

2013-08-12 Thread Pete Batard
On 2013.08.12 14:15, Xiaofan Chen wrote: > Just tried VS2012 under Windows 8 and there is a warning > for latest git tree. It is probably better to fix this as well for > 1.0.17 release. > > ..\libusb\os\windows_usb.c(1768): warning C4267: 'return' : conversion > from 'size_t' to 'int', possible lo

[Libusbx-devel] libusbx Windows warnings

2013-08-12 Thread Xiaofan Chen
Just tried VS2012 under Windows 8 and there is a warning for latest git tree. It is probably better to fix this as well for 1.0.17 release. ..\libusb\os\windows_usb.c(1768): warning C4267: 'return' : conversion from 'size_t' to 'int', possible loss of data -- Xiaofan -