From ee60084f8404ff5f5b77f76ec844c5dffa5ced63 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 22 Mar 2014 22:24:21 +0000 Subject: Make some things unsigned that should be (why would we need e.g. a negative number of airports?) and remove some related bogus casts. --- atc/struct.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'atc/struct.h') diff --git a/atc/struct.h b/atc/struct.h index 7ac4ba7f..39374dac 100644 --- a/atc/struct.h +++ b/atc/struct.h @@ -1,4 +1,4 @@ -/* $NetBSD: struct.h,v 1.6 2006/06/07 09:36:39 jnemeth Exp $ */ +/* $NetBSD: struct.h,v 1.7 2014/03/22 22:24:21 dholland Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -60,10 +60,10 @@ typedef struct { int width, height; int update_secs; int newplane_time; - int num_exits; + unsigned num_exits; int num_lines; - int num_beacons; - int num_airports; + unsigned num_beacons; + unsigned num_airports; EXIT *exit; LINE *line; BEACON *beacon; -- cgit v1.2.3-56-ge451