From 4aa83a7fc142e049eeb9aba254a918f74cdea981 Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 18 Nov 2024 20:26:29 +0000 Subject: [PATCH] Fix a warning about printf parameter width --- ncat/ncat_listen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncat/ncat_listen.c b/ncat/ncat_listen.c index 361876aaf..ff08e7d85 100644 --- a/ncat/ncat_listen.c +++ b/ncat/ncat_listen.c @@ -334,7 +334,7 @@ int ncat_listen() logdebug("select returned %d fds ready\n", fds_ready); if (fds_ready == 0) - bye("Idle timeout expired (%d ms).", usec_wait / 1000); + bye("Idle timeout expired (%ld ms).", usec_wait / 1000); /* If client_fdlist.state increases, the list has changed and we * need to go over it again. */