One more static const string

Francois Gouget fgouget at free.fr
Tue May 4 06:38:39 CDT 2004


Changelog:

 * dlls/ntdll/tests/rtlstr.c

   Make deststring static const.


Index: dlls/ntdll/tests/rtlstr.c
===================================================================
RCS file: /var/cvs/wine/dlls/ntdll/tests/rtlstr.c,v
retrieving revision 1.16
diff -u -r1.16 rtlstr.c
--- a/dlls/ntdll/tests/rtlstr.c	20 Apr 2004 01:12:17 -0000	1.16
+++ b/dlls/ntdll/tests/rtlstr.c	28 Apr 2004 01:14:27 -0000
@@ -479,7 +479,7 @@
 static void test_RtlCopyString(void)
 {
     static const char teststring[] = "Some Wild String";
-    static char deststring[] = "                    ";
+    static const char deststring[] = "                    ";
     STRING str;
     STRING deststr;




-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
               RFC 2549: ftp://ftp.isi.edu/in-notes/rfc2549.txt
                IP over Avian Carriers with Quality of Service



More information about the wine-patches mailing list