summaryrefslogtreecommitdiffstats
path: root/games/trek/computer.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/trek/computer.c')
-rw-r--r--games/trek/computer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/trek/computer.c b/games/trek/computer.c
index 02a0e41..2081c0e 100644
--- a/games/trek/computer.c
+++ b/games/trek/computer.c
@@ -117,7 +117,7 @@ computer()
while (1)
{
r = getcodpar("\nRequest", Cputab);
- switch ((int)r->value)
+ switch ((long)r->value)
{
case 1: /* star chart */
OpenPOWER on IntegriCloud