summaryrefslogtreecommitdiff
path: root/misc/estic/files/patch-syserror.cc
diff options
context:
space:
mode:
Diffstat (limited to 'misc/estic/files/patch-syserror.cc')
-rw-r--r--misc/estic/files/patch-syserror.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/estic/files/patch-syserror.cc b/misc/estic/files/patch-syserror.cc
new file mode 100644
index 000000000000..1759c799acf5
--- /dev/null
+++ b/misc/estic/files/patch-syserror.cc
@@ -0,0 +1,11 @@
+--- spunk/syserror.cc.orig Sat Feb 26 18:04:03 2000
++++ spunk/syserror.cc Sat Feb 26 18:04:18 2000
+@@ -238,7 +238,7 @@
+ return FormatStr (LoadMsg (msUnknown).GetStr (), Code);
+ } else {
+ #ifndef SOLARIS
+- char* Msg = sys_errlist [Code];
++ char* Msg = (char *)sys_errlist [Code];
+ #else
+ char* Msg = strerror (Code);
+ #endif