summaryrefslogtreecommitdiff
path: root/redo/table_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-01 18:25:59 -0400
committerPietro Gagliardi <[email protected]>2014-08-01 18:25:59 -0400
commit80828b8a7d2273d5f35b7114c8dfc10605fc5df8 (patch)
treed7897af6491bcbe1b0f1ede039220e936e5fe740 /redo/table_windows.c
parent7f027bae3c34afb1261ef60aa3754676f0fa648a (diff)
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.
Diffstat (limited to 'redo/table_windows.c')
-rw-r--r--redo/table_windows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c
index b6cf32a..56a3b02 100644
--- a/redo/table_windows.c
+++ b/redo/table_windows.c
@@ -4,7 +4,7 @@
#include "_cgo_export.h"
/* provided for cgo's benefit */
-LPCWSTR xWC_LISTVIEW = WC_LISTVIEW;
+LPWSTR xWC_LISTVIEW = WC_LISTVIEW;
static LRESULT CALLBACK tableSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR id, DWORD_PTR data)
{
@@ -37,7 +37,7 @@ void setTableSubclass(HWND hwnd, void *data)
xpanic("error subclassing Table to give it its own event handler", GetLastError());
}
-void tableAppendColumn(HWND hwnd, int index, LPCWSTR name)
+void tableAppendColumn(HWND hwnd, int index, LPWSTR name)
{
LVCOLUMNW col;