[PATCH 2/2] xmllite: Drop superfluous casts to self.

Michael Stefaniuc mstefani at winehq.org
Wed Dec 2 17:32:48 CST 2020


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
 dlls/xmllite/reader.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/xmllite/reader.c b/dlls/xmllite/reader.c
index 4793b128bae..13d841eb94d 100644
--- a/dlls/xmllite/reader.c
+++ b/dlls/xmllite/reader.c
@@ -213,9 +213,9 @@ typedef struct
 static WCHAR emptyW[] = L"";
 static WCHAR xmlW[] = L"xml";
 static WCHAR xmlnsW[] = L"xmlns";
-static const strval strval_empty = { (WCHAR *)emptyW, 0 };
-static const strval strval_xml = { (WCHAR *)xmlW, 3 };
-static const strval strval_xmlns = { (WCHAR *)xmlnsW, 5 };
+static const strval strval_empty = { emptyW, 0 };
+static const strval strval_xml = { xmlW, 3 };
+static const strval strval_xmlns = { xmlnsW, 5 };
 
 struct reader_position
 {
-- 
2.26.2




More information about the wine-devel mailing list