From 2bf97f123f3936a61dbaa723bd6654f716fc1fd8 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 19 Jun 2023 20:21:54 +0200 Subject: [PATCH] test,win: fix -Wformat warning --- test/test-spawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-spawn.c b/test/test-spawn.c index 182cf5ec..5e84dcdb 100644 --- a/test/test-spawn.c +++ b/test/test-spawn.c @@ -1108,7 +1108,7 @@ TEST_IMPL(spawn_detect_pipe_name_collisions_on_windows) { /* Create a pipe that'll cause a collision. */ snprintf(name, sizeof(name), - "\\\\.\\pipe\\uv\\%p-%d", + "\\\\.\\pipe\\uv\\%p-%lu", &out, GetCurrentProcessId()); pipe_handle = CreateNamedPipeA(name,