commit | 2a7372db54094a406a755f0b8548b614ba8c78ec | [log] [tgz] |
---|---|---|
author | Sean McBride <sean@rogue-research.com> | Thu Jan 17 17:28:59 2019 -0500 |
committer | Ludovic Rousseau <ludovic.rousseau@free.fr> | Fri Feb 08 18:54:54 2019 +0100 |
tree | ae9b7504260d4b910e7fb7ef3550a69445034471 | |
parent | 8cfcc63f4f970ca3bbdd9bf77b3bb20d78b9e855 [diff] |
Fixed -Wformat warnings by casting intptr_t to void* %p is for pointers, not integers; therefore added a cast. Fixes the following warnings: libusb/core.c:1252:33: Format specifies type 'void *' but the argument has type 'intptr_t' (aka 'long') libusb/core.c:1276:45: Format specifies type 'void *' but the argument has type 'intptr_t' (aka 'long') Signed-off-by: Ludovic Rousseau <ludovic.rousseau@free.fr>
libusb is a library for USB device access from Linux, macOS, Windows, OpenBSD/NetBSD and Haiku userspace. It is written in C (Haiku backend in C++) and licensed under the GNU Lesser General Public License version 2.1 or, at your option, any later version (see COPYING).
libusb is abstracted internally in such a way that it can hopefully be ported to other operating systems. Please see the PORTING file for more information.
libusb homepage: http://libusb.info/
Developers will wish to consult the API documentation: http://api.libusb.info
Use the mailing list for questions, comments, etc: http://mailing-list.libusb.info
(Please use the mailing list rather than mailing developers directly)