diff --git a/games/backgammon/common_source/subs.c b/games/backgammon/common_source/subs.c index 7a6e1ba9558a..a9e998bb5271 100644 --- a/games/backgammon/common_source/subs.c +++ b/games/backgammon/common_source/subs.c @@ -74,8 +74,8 @@ register char *s1, *s2; while ( (*s1++ = *s2++) != '\0'); } -addbuf (c) -register char c; +int addbuf (c) +register int c; { buffnum++; @@ -85,6 +85,7 @@ register char c; buffnum = 0; } outbuff[buffnum] = c; + return (0); } buflush () {