1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00

Silenced compiler warning

This commit is contained in:
Nick Patavalis
2010-05-28 00:42:21 +00:00
parent 6837a7ed4e
commit 08c1f08adf

View File

@ -260,8 +260,8 @@ fd_readline (int fdi, int fdo, char *b, int bsz)
unsigned char c;
unsigned char *bp, *bpe;
bp = b;
bpe = b + bsz - 1;
bp = (unsigned char *)b;
bpe = (unsigned char *)b + bsz - 1;
while (1) {
r = read(fdi, &c, 1);