mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 09:39:03 -04:00
[read_input_nblock] use standard int format specifiers
This commit is contained in:
parent
a3c37932d6
commit
b3710c0cf1
@ -1819,7 +1819,7 @@ read_input_nblock(int fd, unsigned char* buf, size_t buflen, int *bufused,
|
|||||||
}
|
}
|
||||||
*bufused += r;
|
*bufused += r;
|
||||||
space -= r;
|
space -= r;
|
||||||
loginfo("read %lldB from %d (%lluB left)\n", (long long)r, fd, (unsigned long long)space);
|
loginfo("read %" PRIdPTR "B from %d (%" PRIuPTR "B left)\n", r, fd, space);
|
||||||
}
|
}
|
||||||
|
|
||||||
// are terminal and stdin distinct for this inputctx?
|
// are terminal and stdin distinct for this inputctx?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user