Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f0f5c45b
Commit
f0f5c45b
authored
Mar 15, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Avoid BAD_CAST in schemasInit.
parent
59c9b107
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
schema.c
dlls/msxml3/schema.c
+2
-2
No files found.
dlls/msxml3/schema.c
View file @
f0f5c45b
...
...
@@ -718,7 +718,7 @@ static xmlParserInputPtr external_entity_loader(const char *URL, const char *ID,
void
schemasInit
(
void
)
{
int
len
;
c
har
*
buf
;
xmlC
har
*
buf
;
if
(
!
(
datatypes_rsrc
=
FindResourceA
(
MSXML_hInstance
,
"DATATYPES"
,
"XML"
)))
{
FIXME
(
"failed to find resource for %s
\n
"
,
DT_nsURI
);
...
...
@@ -737,7 +737,7 @@ void schemasInit(void)
* need a null-terminated string */
while
(
buf
[
len
]
!=
'>'
)
buf
[
len
--
]
=
0
;
datatypes_src
=
BAD_CAST
buf
;
datatypes_src
=
buf
;
datatypes_len
=
len
+
1
;
if
(
xmlGetExternalEntityLoader
()
!=
external_entity_loader
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment