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. --- sail/pl_5.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sail/pl_5.c') diff --git a/sail/pl_5.c b/sail/pl_5.c index 938f0e87..f8df3291 100644 --- a/sail/pl_5.c +++ b/sail/pl_5.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_5.c,v 1.3 1995/04/22 10:37:12 cgd Exp $ */ +/* $NetBSD: pl_5.c,v 1.4 1995/04/24 12:25:21 cgd Exp $ */ /* * Copyright (c) 1983, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)pl_5.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: pl_5.c,v 1.3 1995/04/22 10:37:12 cgd Exp $"; +static char rcsid[] = "$NetBSD: pl_5.c,v 1.4 1995/04/24 12:25:21 cgd Exp $"; #endif #endif /* not lint */ @@ -145,7 +145,7 @@ acceptmove() (void) strcpy(movebuf, buf); else (void) strcpy(movebuf, "d"); - Write(W_MOVE, ms, 1, (int)movebuf, 0, 0, 0); + Write(W_MOVE, ms, 1, (long)movebuf, 0, 0, 0); Signal("Helm: %s.", (struct ship *)0, movebuf); } -- cgit v1.2.3