A cross-platform library to access USB devices
Branch: master
Clone or download
seanm and LudovicRousseau 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>
Latest commit 2a7372d Jan 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.private Misc: Fix pre-commit hook to not emit errors in non-Bash shells Dec 26, 2017
Xcode Fixed many compiler warnings about sign and size mismatch Jan 31, 2019
android core: Remove use of gettimeofday() Jan 12, 2017
doc Doxygen: upgrade doxygen.cfg.in file Dec 16, 2014
examples Fixed many compiler warnings about sign and size mismatch Jan 31, 2019
libusb Fixed -Wformat warnings by casting intptr_t to void* Feb 8, 2019
msvc Windows: Add back resource and definition files to VS DLL projects Mar 20, 2018
tests core: Introduce libusb_set_option() API function Jul 16, 2017
.gitattributes Add INSTALL_WIN.txt eol=crlf to .gitattributes May 15, 2013
.gitignore Added some Xcode-related items to .gitignore Jan 8, 2018
.travis.yml use travis homebrew addon for reliability Jan 9, 2019
AUTHORS libusb 1.0.22-rc1 Jan 9, 2018
Brewfile Move to brew bundle Jul 9, 2018
COPYING Initial commit Dec 2, 2007
ChangeLog Update ChangeLog Dec 5, 2018
INSTALL_WIN.txt Misc: Revert all references to libusb/libusb.info Jan 8, 2014
Makefile.am Makefile.am: Add Xcode dir to EXTRA_DIST Aug 30, 2013
NEWS Misc: Revert all references to libusb/libusb.info Jan 8, 2014
PORTING Misc: Revert all references to libusb/libusb.info Jan 8, 2014
README Misc: Link README to README.md to satisfy autotools Feb 25, 2016
README.git Misc: Revert all references to libusb/libusb.info Jan 8, 2014
README.md Misc: Replace "Mac OS X" with "macOS", its current name Jan 8, 2018
TODO Updated TODO link Jul 25, 2016
appveyor.yml AppVeyor: add cygwin and minGW support Mar 19, 2016
appveyor_cygwin.bat Fix appveyor scripts for Cygwin and MinGW to build as intended Jan 9, 2018
appveyor_minGW.bat Fix appveyor scripts for Cygwin and MinGW to build as intended Jan 9, 2018
autogen.sh autogen: remove --enable-maintainer-mode Mar 12, 2016
bootstrap.sh bootstrap: use autoreconf Feb 27, 2016
configure.ac configure.ac: bump .so version for next release Dec 5, 2018
libusb-1.0.pc.in Solaris backend Jul 25, 2016
travis-autogen.sh travis: Pass on arguments given to travis_autogen.sh Mar 1, 2017

README.md

libusb

Build Status Build status Coverity Scan Build Status

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)