From 75dd3534f9a8c1cf6ceceaa5f617912ebd5137c5 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Fri, 10 Nov 2006 18:56:41 +0800 Subject: [PATCH] oleaut32: Constify some data. --- dlls/oleaut32/tests/vartype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c index 4b01b6584de..666516fb2a8 100644 --- a/dlls/oleaut32/tests/vartype.c +++ b/dlls/oleaut32/tests/vartype.c @@ -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(void) { 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); -- 2.11.4.GIT