diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-07 21:34:21 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-07 21:34:21 +0000 |
commit | 11dab0532866d83d87b7fd12b4f455fe7d868183 (patch) | |
tree | 46fbf400ae8e077f8190885716ad4f64ba5799da /sys | |
parent | 6675ed5b5ab13f817479d72a685d67c0d2d3353c (diff) | |
download | FreeBSD-src-11dab0532866d83d87b7fd12b4f455fe7d868183.zip FreeBSD-src-11dab0532866d83d87b7fd12b4f455fe7d868183.tar.gz |
Cast a ptrdiff_t value to an int to quiet a warning since we don't support
%t in the kernel printf yet.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/ugen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index 72cde8f..fb2b46a 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -928,7 +928,8 @@ ugen_isoc_rintr(usbd_xfer_handle xfer, usbd_private_handle addr, return; usbd_get_xfer_status(xfer, NULL, NULL, &count, NULL); - DPRINTFN(5,("ugen_isoc_rintr: xfer %d, count=%d\n", req - sce->isoreqs, + DPRINTFN(5,("ugen_isoc_rintr: xfer %d, count=%d\n", + (int)(req - sce->isoreqs), count)); /* throw away oldest input if the buffer is full */ |