Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb fix type in comparison



details:   https://anonhg.NetBSD.org/src/rev/174c46c5def6
branches:  trunk
changeset: 791043:174c46c5def6
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 01 17:09:00 2013 +0000

description:
fix type in comparison

diffstat:

 sys/dev/usb/uatp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 12f332e62dc1 -r 174c46c5def6 sys/dev/usb/uatp.c
--- a/sys/dev/usb/uatp.c        Fri Nov 01 17:07:37 2013 +0000
+++ b/sys/dev/usb/uatp.c        Fri Nov 01 17:09:00 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uatp.c,v 1.3 2013/01/05 08:01:13 martin Exp $  */
+/*     $NetBSD: uatp.c,v 1.4 2013/11/01 17:09:00 christos Exp $        */
 
 /*-
  * Copyright (c) 2011, 2012 Taylor R. Campbell
@@ -143,7 +143,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uatp.c,v 1.3 2013/01/05 08:01:13 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uatp.c,v 1.4 2013/11/01 17:09:00 christos Exp $");
 
 #include <sys/atomic.h>
 #include <sys/device.h>
@@ -945,7 +945,7 @@
 
        /* Initialize model-specific parameters.  */
        sc->sc_parameters = uatp_descriptor->parameters;
-       KASSERT(sc->sc_parameters->input_size == input_size);
+       KASSERT((int)sc->sc_parameters->input_size == input_size);
        KASSERT(sc->sc_parameters->x_sensors <= UATP_MAX_X_SENSORS);
        KASSERT(sc->sc_parameters->x_ratio <= UATP_MAX_X_RATIO);
        KASSERT(sc->sc_parameters->y_sensors <= UATP_MAX_Y_SENSORS);



Home | Main Index | Thread Index | Old Index