From 6c0289daa055fb13d5bff8de9da194d1205f908c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 10 Jan 2013 20:40:04 -0800 Subject: Fix Windows build Just making the code in the last commit (cross) compile on Windows. Signed-off-by: Dirk Hohndel --- windows.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/windows.c b/windows.c index 7ca1d9148..c3ea94c74 100644 --- a/windows.c +++ b/windows.c @@ -40,10 +40,10 @@ void subsurface_unset_conf(char *name) wname = (wchar_t *)g_utf8_to_utf16(name, -1, NULL, NULL, NULL); if (!wname) return; - RegDeleteKey(hkey, (LPCWSTR)wname); + RegDeleteKey(hkey, (LPCTSTR)wname); } -void subsurface_set_conf(char *name, const void *value) +void subsurface_set_conf(char *name, const char *value) { /* since we are using the pointer 'value' as both an actual * pointer to the string setting and as a way to pass the -- cgit v1.2.3-70-g09d2