- Fix warnings
authorAlex Ionescu <aionescu@gmail.com>
Wed, 27 Jul 2005 02:03:01 +0000 (02:03 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Wed, 27 Jul 2005 02:03:01 +0000 (02:03 +0000)
svn path=/trunk/; revision=16786

reactos/lib/comctl32/comctl32undoc.c

index 4e671b0..4695537 100644 (file)
@@ -592,7 +592,7 @@ static void MRU_SaveChanged ( LPWINEMRULIST mp )
            err);\r
        if ((err = RegCreateKeyExW( mp->extview.hKey, mp->extview.lpszSubKey,\r
                                    0,\r
-                                   emptyW,\r
+                                   (LPWSTR)emptyW,\r
                                    REG_OPTION_NON_VOLATILE,\r
                                    KEY_READ | KEY_WRITE,\r
                                    0,\r
@@ -973,7 +973,7 @@ static HANDLE CreateMRUListLazy_common(LPWINEMRULIST mp)
     /* open the sub key */\r
     if ((err = RegCreateKeyExW( mp->extview.hKey, mp->extview.lpszSubKey,\r
                                0,\r
-                               emptyW,\r
+                               (LPWSTR)emptyW,\r
                                REG_OPTION_NON_VOLATILE,\r
                                KEY_READ | KEY_WRITE,\r
                                 0,\r