diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-10 20:40:04 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-10 20:40:04 -0800 |
commit | 6c0289daa055fb13d5bff8de9da194d1205f908c (patch) | |
tree | 57eca08d2167e339591852322e4f3324e2581f15 /windows.c | |
parent | 8dea49ffe29c602efc52fbaaf89fd3456c19add7 (diff) | |
download | subsurface-6c0289daa055fb13d5bff8de9da194d1205f908c.tar.gz |
Fix Windows build
Just making the code in the last commit (cross) compile on Windows.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'windows.c')
-rw-r--r-- | windows.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |