Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/dwc2 Consistency.



details:   https://anonhg.NetBSD.org/src/rev/09bf5d64ab7a
branches:  trunk
changeset: 1005313:09bf5d64ab7a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Dec 04 06:28:35 2019 +0000

description:
Consistency.

diffstat:

 sys/external/bsd/dwc2/dwc2.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c31ed764dc62 -r 09bf5d64ab7a sys/external/bsd/dwc2/dwc2.c
--- a/sys/external/bsd/dwc2/dwc2.c      Wed Dec 04 05:36:34 2019 +0000
+++ b/sys/external/bsd/dwc2/dwc2.c      Wed Dec 04 06:28:35 2019 +0000
@@ -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 <sys/cdefs.h>
-__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 @@
                    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,"



Home | Main Index | Thread Index | Old Index