Andrew Talbot : ntdll: Cast-qual warning fix.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Sep 20 13:26:56 CDT 2006


Module: wine
Branch: master
Commit: 589265918cc5a729baad20cca48d565757676db8
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=589265918cc5a729baad20cca48d565757676db8

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Tue Sep 19 21:44:40 2006 +0100

ntdll: Cast-qual warning fix.

---

 dlls/ntdll/env.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/env.c b/dlls/ntdll/env.c
index ae7ba3e..193237d 100644
--- a/dlls/ntdll/env.c
+++ b/dlls/ntdll/env.c
@@ -419,8 +419,8 @@ NTSTATUS WINAPI RtlCreateProcessParamete
                                             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-cvs mailing list