oleaut32: Constify some data

Dmitry Timoshkov dmitry at codeweavers.com
Fri Nov 10 04:56:41 CST 2006


Hello,

Changelog:
    oleaut32: Constify some data.

--- a/dlls/oleaut32/tests/vartype.c	2006-10-16 12:27:15.000000000 +0900
+++ b/dlls/oleaut32/tests/vartype.c	2006-11-10 14:38:13.000000000 +0800
@@ -3271,7 +3271,7 @@ static void test_VarDateFromDec(void)
 #define MKRELDATE(day,mth) st.wMonth = mth; st.wDay = day; \
   pSystemTimeToVariantTime(&st,&relative)
 
-static const char *BadDateStrings[] =
+static const char * const BadDateStrings[] =
 {
   "True", "False", /* Plain text */
   "0.", ".0", "-1.1", "1.1-", /* Partial specifications */
@@ -5736,7 +5736,7 @@ static void test_ChangeType_keep_dst(voi
 {
      VARIANT v1, v2;
      BSTR bstr;
-     WCHAR testW[] = {'t','e','s','t',0};
+     static const WCHAR testW[] = {'t','e','s','t',0};
      HRESULT hres;
 
      bstr = SysAllocString(testW);





More information about the wine-patches mailing list