diff options
author | jb <jb@FreeBSD.org> | 1998-05-09 10:51:27 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-09 10:51:27 +0000 |
commit | 05e443dab403732dd66ad30cfb3029a489e3a53b (patch) | |
tree | 421d4749d7b3993c575b7763a4db9d1ab3269f29 /games/sail/dr_1.c | |
parent | 0b8d784850928b448cb8b870169fabaf4cd292a4 (diff) | |
download | FreeBSD-src-05e443dab403732dd66ad30cfb3029a489e3a53b.zip FreeBSD-src-05e443dab403732dd66ad30cfb3029a489e3a53b.tar.gz |
Cast pointers to long instead of int.
Diffstat (limited to 'games/sail/dr_1.c')
-rw-r--r-- | games/sail/dr_1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/sail/dr_1.c b/games/sail/dr_1.c index 170e5d9..52ab369 100644 --- a/games/sail/dr_1.c +++ b/games/sail/dr_1.c @@ -181,7 +181,7 @@ int key; makesignal(from, "boarders from %s repelled", to); (void) sprintf(message, "killed in melee: %d. %s: %d", totalto, from->shipname, totalfrom); - Write(W_SIGNAL, to, 1, (int) message, 0, 0, 0); + Write(W_SIGNAL, to, 1, (long) message, 0, 0, 0); if (key) return 1; } else if (strengthto >= fromstrength * 3) { @@ -213,10 +213,10 @@ int key; } (void) sprintf(message, "captured by the %s!", to->shipname); - Write(W_SIGNAL, from, 1, (int) message, 0, 0, 0); + Write(W_SIGNAL, from, 1, (long) message, 0, 0, 0); (void) sprintf(message, "killed in melee: %d. %s: %d", totalto, from->shipname, totalfrom); - Write(W_SIGNAL, to, 1, (int) message, 0, 0, 0); + Write(W_SIGNAL, to, 1, (long) message, 0, 0, 0); mento = 0; return 0; } |