Dmitry Timoshkov : oleaut32: Constify some data.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Nov 10 07:44:38 CST 2006


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

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Fri Nov 10 18:56:41 2006 +0800

oleaut32: Constify some data.

---

 dlls/oleaut32/tests/vartype.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index 4b01b65..666516f 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -3271,7 +3271,7 @@ #define DFS(str) \
 #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-cvs mailing list