On 2013.06.19 12:21, Ludovic Rousseau wrote:
> - int i;
> + size_t i;
Note that this creates a new warning in VS2012 (64 bit), with the
"usbi_locale = i;" line, due usbi_locale being defined as an int:
1> ..\libusb\strerror.c(156): warning C4267: '=' : conversion from
'size_t' to 'int',
Hi,
On 06/19/2013 01:21 PM, Ludovic Rousseau wrote:
> Hello,
>
> A small patch for:
>
> strerror.c: In function 'libusb_setlocale':
> strerror.c:148: warning: comparison between signed and unsigned
> strerror.c:152: warning: comparison between signed and unsigned
Thanks, pushed.
Regards,
Hans
Hello,
A small patch for:
strerror.c: In function 'libusb_setlocale':
strerror.c:148: warning: comparison between signed and unsigned
strerror.c:152: warning: comparison between signed and unsigned
--
Dr. Ludovic Rousseau
0001-Core-fix-compiler-warning-in-libusb_setlocale.patch
Description: B