From 64808850222580f008163db7fd9e2267f505d35c Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 22 Mar 2014 22:45:05 +0000 Subject: use more suitable types --- atc/struct.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'atc/struct.h') diff --git a/atc/struct.h b/atc/struct.h index 5ce9a2b3..ad5361dd 100644 --- a/atc/struct.h +++ b/atc/struct.h @@ -1,4 +1,4 @@ -/* $NetBSD: struct.h,v 1.8 2014/03/22 22:33:35 dholland Exp $ */ +/* $NetBSD: struct.h,v 1.9 2014/03/22 22:45:05 dholland Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -43,6 +43,8 @@ * For more info on this and all of my stuff, mail edjames@berkeley.edu. */ +#include + typedef struct { int x, y; int dir; /* used only sometimes */ @@ -86,8 +88,8 @@ typedef struct plane { int fuel; int xpos; int ypos; - int delayd; - int delayd_no; + bool delayd; + unsigned delayd_no; } PLANE; typedef struct { -- cgit v1.2.3-56-ge451