From 912ca7e3d8603d7c895698d9850d3417083da611 Mon Sep 17 00:00:00 2001 From: skrll Date: Wed, 4 Dec 2019 06:28:35 +0000 Subject: [PATCH] Consistency. --- sys/external/bsd/dwc2/dwc2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/external/bsd/dwc2/dwc2.c b/sys/external/bsd/dwc2/dwc2.c index ff1ba8a30f9a..13b5f47dd9d7 100644 --- a/sys/external/bsd/dwc2/dwc2.c +++ b/sys/external/bsd/dwc2/dwc2.c @@ -1,4 +1,4 @@ -/* $NetBSD: dwc2.c,v 1.65 2019/12/03 22:22:36 jmcneill Exp $ */ +/* $NetBSD: dwc2.c,v 1.66 2019/12/04 06:28:35 skrll Exp $ */ /*- * Copyright (c) 2013 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.65 2019/12/03 22:22:36 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.66 2019/12/04 06:28:35 skrll Exp $"); #include "opt_usb.h" @@ -1021,7 +1021,7 @@ dwc2_device_start(struct usbd_xfer *xfer) epnum, mps, dir == UT_READ ? "in" :"out"); len = 0; - for (int i = 0; i < xfer->ux_nframes; i++) + for (size_t i = 0; i < xfer->ux_nframes; i++) len += xfer->ux_frlengths[i]; } else { DPRINTFN(3, "xfer=%p len=%d flags=%d addr=%d endpt=%d,"