Marcus Meissner : msxml3: Fixed two const table declarations (Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Apr 4 10:10:50 CDT 2011
Module: wine
Branch: master
Commit: 483559b3e0c097970a1839d222b8a7bba3b00f4e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=483559b3e0c097970a1839d222b8a7bba3b00f4e
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Sat Apr 2 09:25:18 2011 +0200
msxml3: Fixed two const table declarations (Coverity).
---
dlls/msxml3/schema.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/schema.c b/dlls/msxml3/schema.c
index c13bc27..c8ce471 100644
--- a/dlls/msxml3/schema.c
+++ b/dlls/msxml3/schema.c
@@ -387,7 +387,7 @@ static DWORD dt_hash_bstr(OLECHAR const* bstr, int len /* calculated if -1 */)
return hval;
}
-static const xmlChar const* DT_string_table[DT__N_TYPES] =
+static const xmlChar *const DT_string_table[DT__N_TYPES] =
{
DT_bin_base64,
DT_bin_hex,
@@ -427,7 +427,7 @@ static const xmlChar const* DT_string_table[DT__N_TYPES] =
DT_uuid
};
-static const WCHAR const* DT_wstring_table[DT__N_TYPES] =
+static const WCHAR *const DT_wstring_table[DT__N_TYPES] =
{
wDT_bin_base64,
wDT_bin_hex,
More information about the wine-cvs
mailing list