summaryrefslogtreecommitdiff
path: root/examples/ezusb.c
diff options
context:
space:
mode:
authorLudovic Rousseau <ludovic.rousseau@gmail.com>2012-10-13 20:22:49 +0200
committerLudovic Rousseau <ludovic.rousseau+github@gmail.com>2013-02-15 11:16:33 +0100
commitbfd02c6f59f11a6af8cc9e6af96f4942cc37a5f4 (patch)
treea732e49d649535677e9b539956997f93e07a4304 /examples/ezusb.c
parente39b24ae5a6069b1571ecef3eb510c9e90db4956 (diff)
downloadlibusb-bfd02c6f59f11a6af8cc9e6af96f4942cc37a5f4.tar.gz
Core: Fix compiler warning
libusb/io.c:1877:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] timeout_ms = (tv->tv_sec * 1000) + (tv->tv_usec / 1000); ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ On Mac OS X tv_sec is a __darwin_time_t which is a long, not an int.
Diffstat (limited to 'examples/ezusb.c')
0 files changed, 0 insertions, 0 deletions