diff options
author | jb <jb@FreeBSD.org> | 1998-05-09 10:39:48 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1998-05-09 10:39:48 +0000 |
commit | 7689e1e466788151fa3729c0c24d1c3773d50879 (patch) | |
tree | 0d3416bec93b5a344277d43834520aaae4337ac9 /games/trek/shield.c | |
parent | 87514388e9954eb02e98a79cf44c0d1ce7383b6b (diff) | |
download | FreeBSD-src-7689e1e466788151fa3729c0c24d1c3773d50879.zip FreeBSD-src-7689e1e466788151fa3729c0c24d1c3773d50879.tar.gz |
Change casts of function pointers from int to long. This makes the
compiler warnings go away, but the compiler is throwing away 32-bits
as the long value is silently truncated to an int on alpha. But the
program works, so that must not matter.
Diffstat (limited to 'games/trek/shield.c')
-rw-r--r-- | games/trek/shield.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/trek/shield.c b/games/trek/shield.c index df7bb63..0e5c250 100644 --- a/games/trek/shield.c +++ b/games/trek/shield.c @@ -109,7 +109,7 @@ int f; if (f <= 0 && !testnl()) { r = getcodpar("Up or down", Udtab); - i = (int) r->value; + i = (long) r->value; } else { |