summaryrefslogtreecommitdiffstats
path: root/trek
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1997-03-29 20:42:16 +0000
committerthorpej <thorpej@NetBSD.org>1997-03-29 20:42:16 +0000
commit77949edf212dfa805753ec2d69e3e91181793816 (patch)
tree38dc3a79b1e3202a6905ed8ef8bf8c43e510bd44 /trek
parent784e053db46cac58a3b6f04fab70c712fc6f968b (diff)
downloadbsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.tar.gz
bsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.tar.zst
bsdgames-darwin-77949edf212dfa805753ec2d69e3e91181793816.zip
Make these compile on the PowerPC (an unsigned char system).
Diffstat (limited to 'trek')
-rw-r--r--trek/trek.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/trek/trek.h b/trek/trek.h
index 780795c1..8581dfb3 100644
--- a/trek/trek.h
+++ b/trek/trek.h
@@ -1,4 +1,4 @@
-/* $NetBSD: trek.h,v 1.3 1995/04/22 10:59:36 cgd Exp $ */
+/* $NetBSD: trek.h,v 1.4 1997/03/29 20:42:26 thorpej Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -76,7 +76,7 @@ struct quad /* definition for each quadrant */
char klings; /* number of Klingons in this quadrant */
char holes; /* number of black holes in this quadrant */
int scanned; /* star chart entry (see below) */
- char stars; /* number of stars in this quadrant */
+ short stars; /* number of stars in this quadrant */
char qsystemname; /* starsystem name (see below) */
};
@@ -339,7 +339,7 @@ struct
struct
{
struct kling klingon[MAXKLQUAD]; /* sorted Klingon list */
- char nkling; /* number of Klingons in this sector */
+ short nkling; /* number of Klingons in this sector */
/* < 0 means automatic override mode */
char fast; /* set if speed > 300 baud */
struct xy starbase; /* starbase in current quadrant */