summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrahnds <rahnds@openbsd.org>1997-01-02 02:25:56 +0000
committerrahnds <rahnds@openbsd.org>1997-01-02 02:25:56 +0000
commitb02fb5a165ed4d3746871c3911bf49e7def55a70 (patch)
treef164d2c41d0850c4e9ec2de77cd0a41b8226aeda
parentadd a comment on how to start xdm via init (only i386 for now - which other (diff)
downloadwireguard-openbsd-b02fb5a165ed4d3746871c3911bf49e7def55a70.tar.xz
wireguard-openbsd-b02fb5a165ed4d3746871c3911bf49e7def55a70.zip
getc returns int not char.
This matters on some ports, such as powerpc. (signed vs unsigned issue).
-rw-r--r--games/monop/initdeck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/monop/initdeck.c b/games/monop/initdeck.c
index d783364c6af..5cc371cb5c8 100644
--- a/games/monop/initdeck.c
+++ b/games/monop/initdeck.c
@@ -163,7 +163,7 @@ count() {
reg bool newline;
reg DECK *in_deck;
- reg char c;
+ reg int c;
newline = TRUE;
in_deck = &CC_D;
@@ -185,7 +185,7 @@ putem() {
reg bool newline;
reg DECK *in_deck;
- reg char c;
+ reg int c;
int16_t num;
in_deck = &CC_D;