summarylogtreecommitdiffstats
path: root/gcc-4.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.patch')
-rw-r--r--gcc-4.4.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc-4.4.patch b/gcc-4.4.patch
new file mode 100644
index 000000000000..43a26393d4f4
--- /dev/null
+++ b/gcc-4.4.patch
@@ -0,0 +1,11 @@
+--- ntext.cc
++++ ntext.cc
+@@ -244,7 +244,7 @@
+ return;
+ }
+
+- p = strchr(text, '\n');
++ p = strchr((char *)text, '\n');
+ if (p!=NULL) {
+ *p = 0;
+ i = strlen(text);