Fix deprecated conversion from string constant to 'wchar_t*'
authorDmitry Gorbachev <gorbachev@reactos.org>
Tue, 20 Oct 2009 16:37:51 +0000 (16:37 +0000)
committerDmitry Gorbachev <gorbachev@reactos.org>
Tue, 20 Oct 2009 16:37:51 +0000 (16:37 +0000)
svn path=/trunk/; revision=43652

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},