From ba0204760e8c831a30e2e156dfae8206e02b9334 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 26 Jan 2020 12:45:30 +0000 Subject: [PATCH] wm_copydata_got_response: fix wrong prototype. In an early draft of commit de38a4d82 I used 'void *' as the reqid type, and then I thought better of it and made it a special type of its own, in keeping with my usual idea that it's better to have your casts somewhat checked than totally unchecked. One remnant of the 'void *' version got past me. Now fixed. --- windows/winpgnt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows/winpgnt.c b/windows/winpgnt.c index 59006f5f..da9e5583 100644 --- a/windows/winpgnt.c +++ b/windows/winpgnt.c @@ -776,8 +776,8 @@ static void wm_copydata_got_msg(void *vctx) pageant_handle_msg(&wmcpc, NULL, make_ptrlen(wmct.body, wmct.bodylen)); } -static void wm_copydata_got_response(PageantClient *pc, void *reqid, - ptrlen response) +static void wm_copydata_got_response( + PageantClient *pc, PageantClientRequestId *reqid, ptrlen response) { if (response.len > wmct.bodysize) { /* Output would overflow message buffer. Replace with a