ntdll: Cast-qual warning fix

Andrew Talbot Andrew.Talbot at talbotville.com
Tue Sep 19 15:44:40 CDT 2006


Changelog:
    ntdll: Cast-qual warning fix.

diff -urN a/dlls/ntdll/env.c b/dlls/ntdll/env.c
--- a/dlls/ntdll/env.c	2006-05-23 13:48:22.000000000 +0100
+++ b/dlls/ntdll/env.c	2006-09-19 19:41:02.000000000 +0100
@@ -419,8 +419,8 @@
                                             const UNICODE_STRING *ShellInfo,
                                             const UNICODE_STRING *RuntimeInfo )
 {
-    static const WCHAR empty[] = {0};
-    static const UNICODE_STRING empty_str = { 0, sizeof(empty), (WCHAR *)empty };
+    static WCHAR empty[] = {0};
+    static const UNICODE_STRING empty_str = { 0, sizeof(empty), empty };
     static const UNICODE_STRING null_str = { 0, 0, NULL };
 
     const RTL_USER_PROCESS_PARAMETERS *cur_params;



More information about the wine-patches mailing list