Module: wine Branch: master Commit: f0f5c45b93e0cb190098b1e128ad1c3369b131b5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f0f5c45b93e0cb190098b1e128...
Author: Jacek Caban jacek@codeweavers.com Date: Thu Mar 15 12:33:17 2012 +0100
msxml3: Avoid BAD_CAST in schemasInit.
---
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 e6af8b2..903f311 100644 --- a/dlls/msxml3/schema.c +++ b/dlls/msxml3/schema.c @@ -718,7 +718,7 @@ static xmlParserInputPtr external_entity_loader(const char *URL, const char *ID, void schemasInit(void) { int len; - char* buf; + xmlChar* 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)