Mailing List Archive

[PATCH pinentry] w32: Fix return value of dlg_proc callback function
The return type of dlg_proc function was changed in
abbecc67d9a9b007b77295c599c90b37ddee275c commit.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
---
w32/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/w32/main.c b/w32/main.c
index 922e9c4..e9b35a3 100644
--- a/w32/main.c
+++ b/w32/main.c
@@ -395,12 +395,12 @@ dlg_proc (HWND dlg, UINT msg, WPARAM wparam, LPARAM lparam)
/* Display the error prompt in red. */
SetTextColor ((HDC)wparam, RGB (255, 0, 0));
SetBkMode ((HDC)wparam, TRANSPARENT);
- return (BOOL)GetStockObject (NULL_BRUSH);
+ return (INT_PTR)GetStockObject (NULL_BRUSH);
}
break;

}
- return FALSE;
+ return 0;
}


--
2.42.0


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-devel