diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-08 13:53:51 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-12 08:53:47 +0100 |
commit | 9dd2c03c37bb4fa68f7e4a7125a9e610f4151155 (patch) | |
tree | fd8cd551bf997e1a2e4e61f51dc52be9c4d797e8 /shell | |
parent | 75c5b3561ebdff4af9fdd219a64ba77fb1a13254 (diff) |
WaE: deprecated conversion from string constant to 'LPSTR'
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx index 07bb501a0be8..a6339f4cb98f 100644 --- a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx +++ b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx @@ -1223,10 +1223,11 @@ namespace /* private */ *pChar = *( pChar+1 ) ='\0'; HKEY hSubKey; + char dummy[] = ""; int rc = RegCreateKeyExA(HKEY_LOCAL_MACHINE, INDEXING_FILTER_DLLSTOREGISTER, 0, - "", + dummy, REG_OPTION_NON_VOLATILE, KEY_WRITE, 0, |