diff options
| author | cgd <cgd@NetBSD.org> | 1995-04-24 12:21:37 +0000 |
|---|---|---|
| committer | cgd <cgd@NetBSD.org> | 1995-04-24 12:21:37 +0000 |
| commit | a65a873e56c35780711e9f73872c4fe0254589b0 (patch) | |
| tree | 5e3a2578839def2becc14922977dc641dfd01c20 /sail/dr_2.c | |
| parent | d7c608df67f7b99aee31ddf6c13d8870695f6827 (diff) | |
| download | bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.tar.gz bsdgames-darwin-a65a873e56c35780711e9f73872c4fe0254589b0.zip | |
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.
Diffstat (limited to 'sail/dr_2.c')
| -rw-r--r-- | sail/dr_2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sail/dr_2.c b/sail/dr_2.c index 1e76dc6f..fbe58ba4 100644 --- a/sail/dr_2.c +++ b/sail/dr_2.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_2.c,v 1.3 1995/04/22 10:36:48 cgd Exp $ */ +/* $NetBSD: dr_2.c,v 1.4 1995/04/24 12:25:12 cgd Exp $ */ /* * Copyright (c) 1983, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)dr_2.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: dr_2.c,v 1.3 1995/04/22 10:36:48 cgd Exp $"; +static char rcsid[] = "$NetBSD: dr_2.c,v 1.4 1995/04/24 12:25:12 cgd Exp $"; #endif #endif /* not lint */ @@ -116,7 +116,7 @@ prizecheck() continue; if (sp->specs->crew1 + sp->specs->crew2 + sp->specs->crew3 > sp->file->pcrew * 6) { Write(W_SIGNAL, sp, 1, - (int)"prize crew overthrown", 0, 0, 0); + (long)"prize crew overthrown", 0, 0, 0); Write(W_POINTS, sp->file->captured, 0, sp->file->captured->file->points - 2 * sp->specs->pts, 0, 0, 0); Write(W_CAPTURED, sp, 0, -1, 0, 0, 0); } |
