summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorshuax <[email protected]>2022-03-30 09:28:30 +0800
committershuax <[email protected]>2022-03-30 09:28:30 +0800
commit5bd3faabff08f68d8a341518d2a39ea304478f6a (patch)
treec5c14b95cb71bd065d733b7757cffa9716e9e617 /core
parent009c4ed10212b3fe2df9ad49e3c2d23ced439d13 (diff)
fix bug
Diffstat (limited to 'core')
-rw-r--r--core/src/xmake/winos/registry_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/winos/registry_query.c b/core/src/xmake/winos/registry_query.c
index 3116d9ebd..1dfcf8dc7 100644
--- a/core/src/xmake/winos/registry_query.c
+++ b/core/src/xmake/winos/registry_query.c
@@ -34,7 +34,7 @@
* types
*/
// the RegGetValueW func type
-typedef BOOL (WINAPI* xm_RegGetValueW_t)(HKEY hkey, LPCSTR lpSubKey, LPCSTR lpValue, DWORD dwFlags, LPDWORD pdwType, PVOID pvData, LPDWORD pcbData);
+typedef BOOL (WINAPI* xm_RegGetValueW_t)(HKEY hkey, LPCWSTR lpSubKey, LPCWSTR lpValue, DWORD dwFlags, LPDWORD pdwType, PVOID pvData, LPDWORD pcbData);
/* //////////////////////////////////////////////////////////////////////////////////////
* implementation