From b3710c0cf11436d398d14b64eef8a81652883002 Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 13 Dec 2021 17:02:30 -0500 Subject: [PATCH] [read_input_nblock] use standard int format specifiers --- src/lib/in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/in.c b/src/lib/in.c index 3c669e928..c2d804118 100644 --- a/src/lib/in.c +++ b/src/lib/in.c @@ -1819,7 +1819,7 @@ read_input_nblock(int fd, unsigned char* buf, size_t buflen, int *bufused, } *bufused += 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?