From 5d0e4ba0eb196418d7e3cbf93e32cb6d9fae2428 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Mon, 7 Aug 2006 19:03:40 +0100 Subject: [PATCH] shell32: Write-strings warnings fix. --- dlls/shell32/dialogs.c | 2 +- dlls/shell32/shellord.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shell32/dialogs.c b/dlls/shell32/dialogs.c index 4c402464a4d..3a49933ca1b 100644 --- a/dlls/shell32/dialogs.c +++ b/dlls/shell32/dialogs.c @@ -247,7 +247,7 @@ void FillList (HWND hCb, char *pszLatest) if (ERROR_SUCCESS != RegCreateKeyExA ( HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RunMRU", - 0, "", REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey, NULL)) + 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey, NULL)) MessageBoxA (hCb, "Unable to open registry key !", "Nix", MB_OK) ; RegQueryValueExA (hkey, "MRUList", NULL, NULL, NULL, &icList) ; diff --git a/dlls/shell32/shellord.c b/dlls/shell32/shellord.c index a6216d3f0b7..c1f953bccc3 100644 --- a/dlls/shell32/shellord.c +++ b/dlls/shell32/shellord.c @@ -522,7 +522,7 @@ SignalFileOpen (DWORD dwParam1) * RETURNS * result of the SHQueryValueEx call */ -static INT SHADD_get_policy(LPSTR policy, LPDWORD type, LPVOID buffer, LPDWORD len) +static INT SHADD_get_policy(LPCSTR policy, LPDWORD type, LPVOID buffer, LPDWORD len) { HKEY Policy_basekey; INT ret;