Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/nl Harmless signed/unsigned botch.



details:   https://anonhg.NetBSD.org/src/rev/1a86d4750808
branches:  trunk
changeset: 472162:1a86d4750808
user:      kleink <kleink%NetBSD.org@localhost>
date:      Fri Apr 23 14:43:05 1999 +0000

description:
Harmless signed/unsigned botch.

diffstat:

 usr.bin/nl/nl.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r f470305552ac -r 1a86d4750808 usr.bin/nl/nl.c
--- a/usr.bin/nl/nl.c   Fri Apr 23 12:33:13 1999 +0000
+++ b/usr.bin/nl/nl.c   Fri Apr 23 14:43:05 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nl.c,v 1.2 1999/02/16 17:31:25 kleink Exp $    */
+/*     $NetBSD: nl.c,v 1.3 1999/04/23 14:43:05 kleink Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
 __COPYRIGHT(
 "@(#) Copyright (c) 1999\
  The NetBSD Foundation, Inc.  All rights reserved.");
-__RCSID("$NetBSD: nl.c,v 1.2 1999/02/16 17:31:25 kleink Exp $");
+__RCSID("$NetBSD: nl.c,v 1.3 1999/04/23 14:43:05 kleink Exp $");
 #endif    
 
 #include <errno.h>
@@ -141,7 +141,8 @@
        char *argv[];
 {
        int c;
-       long val, uval;
+       long val;
+       unsigned long uval;
        char *ep;
        size_t intbuffersize;
 



Home | Main Index | Thread Index | Old Index