On Tue, Aug 13, 2013 at 4:45 AM, Pete Batard <p...@akeo.ie> 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: 'return' : conversion >> from 'size_t' to 'int', possible loss of data > > I can fix that, but I don't get it in Windows 7, and I don't really > understand how the compiler would be influenced purely by the version of > Windows it is running on. > > Do you get the same warning on Windows 7? > Or is there anything you set in your VS2012 installation on Windows 8, > such as enabling extra warnings. > > I'd rather figure out why your Windows 8 installation produces more > warnings than my Windows 7 one, than have to fix a warning I never get > every other week... >
I think it has nothing to do with the Windows version. The x86 build will not have the warning, the x64 version will have the warning. -- Xiaofan ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel