summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hack/hack.termcap.c')
-rw-r--r--games/hack/hack.termcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/hack/hack.termcap.c b/games/hack/hack.termcap.c
index 586f56f..c4a3a82 100644
--- a/games/hack/hack.termcap.c
+++ b/games/hack/hack.termcap.c
@@ -160,7 +160,7 @@ nocmov(x, y)
}
cmov(x, y)
-x, y;
+int x, y;
{
xputs(tgoto(CM, x-1, y-1));
cury = y;
@@ -181,7 +181,7 @@ cl_end() {
else { /* no-CE fix - free after Harold Rynes */
/* this looks terrible, especially on a slow terminal
but is better than nothing */
- cx = curx, cy = cury;
+ int cx = curx, cy = cury;
while(curx < COLNO) {
xputc(' ');
OpenPOWER on IntegriCloud