Fix deprecated conversion from string constant to 'wchar_t*'
[reactos.git] / reactos / lib / atl / statreg.h
index 19532d9..3c1a54b 100644 (file)
@@ -606,10 +606,10 @@ private:
        {
                LPCOLESTR                                                       iter;
                strbuf                                                          buf;
        {
                LPCOLESTR                                                       iter;
                strbuf                                                          buf;
-               unsigned int                                            i;
+               unsigned int                                                    i;
                HRESULT                                                         hResult;
                static const struct {
                HRESULT                                                         hResult;
                static const struct {
-                       wchar_t                                                 *name;
+                       const wchar_t                                           *name;
                        HKEY                                                    key;
                } root_keys[] = {
                        {_T("HKEY_CLASSES_ROOT"), HKEY_CLASSES_ROOT},
                        HKEY                                                    key;
                } root_keys[] = {
                        {_T("HKEY_CLASSES_ROOT"), HKEY_CLASSES_ROOT},