artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
151d349
)
getc returns int not char.
author
rahnds
<rahnds@openbsd.org>
Thu, 2 Jan 1997 02:25:56 +0000
(
02:25
+0000)
committer
rahnds
<rahnds@openbsd.org>
Thu, 2 Jan 1997 02:25:56 +0000
(
02:25
+0000)
This matters on some ports, such as powerpc. (signed vs unsigned issue).
games/monop/initdeck.c
patch
|
blob
|
history
diff --git
a/games/monop/initdeck.c
b/games/monop/initdeck.c
index
d783364
..
5cc371c
100644
(file)
--- 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;