Michael Stefaniuc : xmllite: Drop superfluous casts to self.

Alexandre Julliard julliard at winehq.org
Fri Dec 4 14:36:03 CST 2020


Module: wine
Branch: master
Commit: b0c4d51588f935e4352f13666b7137cd9e12cda4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=b0c4d51588f935e4352f13666b7137cd9e12cda4

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Thu Dec  3 00:32:48 2020 +0100

xmllite: Drop superfluous casts to self.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard 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
 {




More information about the wine-cvs mailing list