Skip to content

Commit

Permalink
ttybuf:fix compiler warning (putTtyn signedness)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Sep 6, 2018
1 parent c953694 commit a24670d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ttybuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ putTty1(uchar c)
}

void
putTtyN(const uchar *cp, int n)
putTtyN(const char *cp, int n)
{
for (; n > 0; n--,cp++) putTty1(*cp);
}
2 changes: 1 addition & 1 deletion src/ttybuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ ttyBufWrite(void);
void
putTty1(uchar c);
void
putTtyN(const uchar *cp, int n);
putTtyN(const char *cp, int n);

0 comments on commit a24670d

Please sign in to comment.