Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/dmover Fix a signed/unsigned botch that broke an err...



details:   https://anonhg.NetBSD.org/src/rev/9bc3bd83d447
branches:  trunk
changeset: 534733:9bc3bd83d447
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Aug 02 06:35:59 2002 +0000

description:
Fix a signed/unsigned botch that broke an error recovery path.
(I could have sworn I fixed this bug over a week ago...)

diffstat:

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

diffs (27 lines):

diff -r 09877e4733aa -r 9bc3bd83d447 sys/dev/dmover/dmover_io.c
--- a/sys/dev/dmover/dmover_io.c        Fri Aug 02 05:38:18 2002 +0000
+++ b/sys/dev/dmover/dmover_io.c        Fri Aug 02 06:35:59 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dmover_io.c,v 1.2 2002/08/02 00:31:35 thorpej Exp $    */
+/*     $NetBSD: dmover_io.c,v 1.3 2002/08/02 06:35:59 thorpej Exp $    */
 
 /*
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -55,7 +55,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dmover_io.c,v 1.2 2002/08/02 00:31:35 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dmover_io.c,v 1.3 2002/08/02 06:35:59 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/queue.h>
@@ -136,7 +136,7 @@
        struct uio *uio_in;
        dmio_buffer inbuf;
        size_t len;
-       u_int i, j;
+       int i, j;
        int error;
 
        /* XXX How should malloc interact w/ FNONBLOCK? */



Home | Main Index | Thread Index | Old Index