From a65a873e56c35780711e9f73872c4fe0254589b0 Mon Sep 17 00:00:00 2001 From: cgd Date: Mon, 24 Apr 1995 12:21:37 +0000 Subject: Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts. --- trek/shield.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'trek/shield.c') diff --git a/trek/shield.c b/trek/shield.c index 6b5d56fc..a2345dc1 100644 --- a/trek/shield.c +++ b/trek/shield.c @@ -1,4 +1,4 @@ -/* $NetBSD: shield.c,v 1.3 1995/04/22 10:59:28 cgd Exp $ */ +/* $NetBSD: shield.c,v 1.4 1995/04/24 12:26:09 cgd Exp $ */ /* * Copyright (c) 1980, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)shield.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: shield.c,v 1.3 1995/04/22 10:59:28 cgd Exp $"; +static char rcsid[] = "$NetBSD: shield.c,v 1.4 1995/04/24 12:26:09 cgd Exp $"; #endif #endif /* not lint */ @@ -115,7 +115,7 @@ int f; if (f <= 0 && !testnl()) { r = getcodpar("Up or down", Udtab); - i = (int) r->value; + i = (long) r->value; } else { -- cgit v1.2.3-56-ge451