Source-Changes-HG archive

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

[src/trunk]: src/lib/libarch/alpha Make 'i' unsigned to avoid signed/unsigned...



details:   https://anonhg.NetBSD.org/src/rev/945d4ad622aa
branches:  trunk
changeset: 778322:945d4ad622aa
user:      he <he%NetBSD.org@localhost>
date:      Thu Mar 22 08:52:22 2012 +0000

description:
Make 'i' unsigned to avoid signed/unsigned comparison warnings from lint.

diffstat:

 lib/libarch/alpha/alpha_bus_window.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 71138281f058 -r 945d4ad622aa lib/libarch/alpha/alpha_bus_window.c
--- a/lib/libarch/alpha/alpha_bus_window.c      Thu Mar 22 08:39:43 2012 +0000
+++ b/lib/libarch/alpha/alpha_bus_window.c      Thu Mar 22 08:52:22 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: alpha_bus_window.c,v 1.3 2008/04/28 20:22:55 martin Exp $      */
+/*     $NetBSD: alpha_bus_window.c,v 1.4 2012/03/22 08:52:22 he Exp $  */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
        struct alpha_bus_get_window_count_args count_args;
        struct alpha_bus_get_window_args window_args;
        struct alpha_bus_window *abw;
-       int i;
+       unsigned int i;
 
        count_args.type = type;
        if (sysarch(ALPHA_BUS_GET_WINDOW_COUNT, &count_args) != 0)



Home | Main Index | Thread Index | Old Index