diff options
author | Pete Batard <pete@akeo.ie> | 2013-06-19 22:44:58 +0100 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2013-06-19 22:44:58 +0100 |
commit | 12b18c3b633b0db4dbfeb15a9004dfc64486a5c5 (patch) | |
tree | d419c79116866f02513756aa823cab1707c34403 /libusb/strerror.c | |
parent | 4935ff097ba93403391340d75f56f52e50112a54 (diff) | |
download | android_external_libusbx-12b18c3b633b0db4dbfeb15a9004dfc64486a5c5.tar.gz android_external_libusbx-12b18c3b633b0db4dbfeb15a9004dfc64486a5c5.tar.bz2 android_external_libusbx-12b18c3b633b0db4dbfeb15a9004dfc64486a5c5.zip |
Core: fix another compiler warning in libusb_setlocale()
* VS2012 (64 bit) produces the following in strerror.c(156):
warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data
Diffstat (limited to 'libusb/strerror.c')
-rw-r--r-- | libusb/strerror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/strerror.c b/libusb/strerror.c index aab82b6..a3c3afa 100644 --- a/libusb/strerror.c +++ b/libusb/strerror.c @@ -29,7 +29,7 @@ #define strncasecmp _strnicmp #endif -static int usbi_locale = 0; +static size_t usbi_locale = 0; /** \ingroup misc * How to add a new \ref libusb_strerror() translation: |