diff options
author | dholland <dholland@NetBSD.org> | 2014-03-22 22:24:21 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2014-03-22 22:24:21 +0000 |
commit | ee60084f8404ff5f5b77f76ec844c5dffa5ced63 (patch) | |
tree | 754555150c51721e2d3fc7273daaa7bac58caf12 /atc/struct.h | |
parent | 9d76f01669b1a4c02ade0e003744dfd853e079f5 (diff) | |
download | bsdgames-darwin-ee60084f8404ff5f5b77f76ec844c5dffa5ced63.tar.gz bsdgames-darwin-ee60084f8404ff5f5b77f76ec844c5dffa5ced63.tar.zst bsdgames-darwin-ee60084f8404ff5f5b77f76ec844c5dffa5ced63.zip |
Make some things unsigned that should be (why would we need e.g. a
negative number of airports?) and remove some related bogus casts.
Diffstat (limited to 'atc/struct.h')
-rw-r--r-- | atc/struct.h | 8 |
1 files changed, 4 insertions, 4 deletions
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; |