From 80828b8a7d2273d5f35b7114c8dfc10605fc5df8 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 1 Aug 2014 18:25:59 -0400 Subject: Changed LPCWSTR to LPWSTR in the Windows code as the C means const and there are a few cases of const->non-const conversions as a result. --- redo/basicctrls_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redo/basicctrls_windows.c') diff --git a/redo/basicctrls_windows.c b/redo/basicctrls_windows.c index 8974bdb..58474c1 100644 --- a/redo/basicctrls_windows.c +++ b/redo/basicctrls_windows.c @@ -3,7 +3,7 @@ #include "winapi_windows.h" #include "_cgo_export.h" -HWND newWidget(LPCWSTR class, DWORD style, DWORD extstyle) +HWND newWidget(LPWSTR class, DWORD style, DWORD extstyle) { HWND hwnd; -- cgit v1.2.3