diff options
author | 1997-04-19 07:35:33 +0000 | |
---|---|---|
committer | 1997-04-19 07:35:33 +0000 | |
commit | 31dcfed54fa251e59812658e5eff841533959983 (patch) | |
tree | ddcf7e4eba40334f8c2753531d44963b17c5683a /sail | |
parent | 6e65822ba7aed8ade399abc0aeef3a41843ef361 (diff) | |
download | bsdgames-darwin-31dcfed54fa251e59812658e5eff841533959983.tar.gz bsdgames-darwin-31dcfed54fa251e59812658e5eff841533959983.tar.zst bsdgames-darwin-31dcfed54fa251e59812658e5eff841533959983.zip |
Change the riggings to ints, so that comparisons against negative
values works as expected on systems with unsigned chars.
Diffstat (limited to 'sail')
-rw-r--r-- | sail/extern.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sail/extern.h b/sail/extern.h index 6d9a7703..6774867d 100644 --- a/sail/extern.h +++ b/sail/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.2 1997/01/07 12:42:17 tls Exp $ */ +/* $NetBSD: extern.h,v 1.3 1997/04/19 07:35:33 thorpej Exp $ */ /* * Copyright (c) 1983, 1993 @@ -249,10 +249,10 @@ struct shipspecs { char gunR; char carL; char carR; - char rig1; - char rig2; - char rig3; - char rig4; + int rig1; + int rig2; + int rig3; + int rig4; short pts; }; struct shipspecs specs[]; |