mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
diff --git a/Source/WebCore/xml/XSLTProcessor.h b/Source/WebCore/xml/XSLTProcessor.h
|
|
index 518e1e2..6ffee02 100644
|
|
--- Source/WebCore/xml/XSLTProcessor.h
|
|
+++ Source/WebCore/xml/XSLTProcessor.h
|
|
@@ -64,7 +64,7 @@ public:
|
|
|
|
void reset();
|
|
|
|
- static void parseErrorFunc(void* userData, xmlError*);
|
|
+ static void parseErrorFunc(void* userData, const xmlError*);
|
|
static void genericErrorFunc(void* userData, const char* msg, ...);
|
|
|
|
// Only for libXSLT callbacks
|
|
diff --git a/Source/WebCore/xml/XSLTProcessorLibxslt.cpp b/Source/WebCore/xml/XSLTProcessorLibxslt.cpp
|
|
index 8093118..cd68332 100644
|
|
--- Source/WebCore/xml/XSLTProcessorLibxslt.cpp
|
|
+++ Source/WebCore/xml/XSLTProcessorLibxslt.cpp
|
|
@@ -77,7 +77,7 @@ void XSLTProcessor::genericErrorFunc(void*, const char*, ...)
|
|
// It would be nice to do something with this error message.
|
|
}
|
|
|
|
-void XSLTProcessor::parseErrorFunc(void* userData, xmlError* error)
|
|
+void XSLTProcessor::parseErrorFunc(void* userData, const xmlError* error)
|
|
{
|
|
PageConsole* console = static_cast<PageConsole*>(userData);
|
|
if (!console)
|