summaryrefslogtreecommitdiff
path: root/www/webkit-gtk2/files/extra-patch-JavaScriptCore_yarr_RegexJIT.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkit-gtk2/files/extra-patch-JavaScriptCore_yarr_RegexJIT.h')
-rw-r--r--www/webkit-gtk2/files/extra-patch-JavaScriptCore_yarr_RegexJIT.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/webkit-gtk2/files/extra-patch-JavaScriptCore_yarr_RegexJIT.h b/www/webkit-gtk2/files/extra-patch-JavaScriptCore_yarr_RegexJIT.h
new file mode 100644
index 000000000000..c46912d7aee8
--- /dev/null
+++ b/www/webkit-gtk2/files/extra-patch-JavaScriptCore_yarr_RegexJIT.h
@@ -0,0 +1,11 @@
+--- JavaScriptCore/yarr/RegexJIT.h.orig 2009-10-09 23:47:41.000000000 -0400
++++ JavaScriptCore/yarr/RegexJIT.h 2009-10-09 23:48:19.000000000 -0400
+@@ -73,7 +73,7 @@ public:
+
+ int execute(const UChar* input, unsigned start, unsigned length, int* output)
+ {
+- return reinterpret_cast<RegexJITCode>(m_ref.m_code.executableAddress())(input, start, length, output);
++ return ((RegexJITCode)m_ref.m_code.executableAddress())(input, start, length, output);
+ }
+
+ private: