Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst Use unsigned variable for memory size, ...



details:   https://anonhg.NetBSD.org/src/rev/610a45c5b342
branches:  trunk
changeset: 537985:610a45c5b342
user:      augustss <augustss%NetBSD.org@localhost>
date:      Wed Oct 09 13:28:48 2002 +0000

description:
Use unsigned variable for memory size, so > 2M memory isn't negative.

diffstat:

 distrib/utils/sysinst/defs.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r a5f27d903d53 -r 610a45c5b342 distrib/utils/sysinst/defs.h
--- a/distrib/utils/sysinst/defs.h      Wed Oct 09 12:06:17 2002 +0000
+++ b/distrib/utils/sysinst/defs.h      Wed Oct 09 13:28:48 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: defs.h,v 1.71 2002/07/29 03:05:16 grant Exp $  */
+/*     $NetBSD: defs.h,v 1.72 2002/10/09 13:28:48 augustss Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -125,8 +125,8 @@
 EXTERN FILE *script;
 
 /* Hardware variables */
-EXTERN long ramsize INIT(0);
-EXTERN int  rammb   INIT(0);
+EXTERN unsigned long ramsize INIT(0);
+EXTERN unsigned int  rammb   INIT(0);
 
 /* Disk descriptions */
 #define MAX_DISKS 15



Home | Main Index | Thread Index | Old Index