From 56915f30ae598eb740fd54bc9e55b68cd9c5fde4 Mon Sep 17 00:00:00 2001 From: PB Date: Mon, 13 Apr 2020 15:27:20 +0200 Subject: [PATCH] Fix broken non-Unicode MSW build Add a missing parenthesis in a non-Unicode StartDoc() definition which was forgotten in 948ddc6e0f (Eliminate -Wcast-qual warnings with GCC and Clang, 2020-02-02). Closes https://github.com/wxWidgets/wxWidgets/pull/1795 --- include/wx/msw/winundef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/msw/winundef.h b/include/wx/msw/winundef.h index 879a6ef626..feebf2b6eb 100644 --- a/include/wx/msw/winundef.h +++ b/include/wx/msw/winundef.h @@ -268,7 +268,7 @@ #else inline int StartDoc(HDC h, CONST DOCINFOA* info) { - return StartDocA(h, const_cast(info); + return StartDocA(h, const_cast(info)); } #endif #endif