Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Fix signed/unsigned comparison warnings.



details:   https://anonhg.NetBSD.org/src/rev/b4397ed45a02
branches:  trunk
changeset: 539162:b4397ed45a02
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Nov 09 20:00:20 2002 +0000

description:
Fix signed/unsigned comparison warnings.

diffstat:

 sys/arch/mips/mips/syscall.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r 735dffddf304 -r b4397ed45a02 sys/arch/mips/mips/syscall.c
--- a/sys/arch/mips/mips/syscall.c      Sat Nov 09 19:50:03 2002 +0000
+++ b/sys/arch/mips/mips/syscall.c      Sat Nov 09 20:00:20 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: syscall.c,v 1.10 2002/06/17 16:33:09 christos Exp $    */
+/*     $NetBSD: syscall.c,v 1.11 2002/11/09 20:00:20 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.10 2002/06/17 16:33:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.11 2002/11/09 20:00:20 thorpej Exp $");
 
 #include "opt_ktrace.h"
 #include "opt_systrace.h"
@@ -162,9 +162,9 @@
        register_t copyrval[2];
 #endif
        mips_reg_t ov0;
-       size_t code, numsys, nsaved, nargs;
+       size_t numsys, nsaved, nargs;
        const struct sysent *callp;
-       int error;
+       int code, error;
 
        uvmexp.syscalls++;
 
@@ -309,9 +309,9 @@
        register_t copyrval[2];
 #endif
        mips_reg_t ov0;
-       size_t code, numsys, nsaved, nargs;
+       size_t numsys, nsaved, nargs;
        const struct sysent *callp;
-       int error;
+       int code, error;
 
        uvmexp.syscalls++;
 



Home | Main Index | Thread Index | Old Index