summaryrefslogtreecommitdiff
path: root/editors/hte/files/patch-src::srt_x86.cc
diff options
context:
space:
mode:
Diffstat (limited to 'editors/hte/files/patch-src::srt_x86.cc')
-rw-r--r--editors/hte/files/patch-src::srt_x86.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/hte/files/patch-src::srt_x86.cc b/editors/hte/files/patch-src::srt_x86.cc
new file mode 100644
index 000000000000..13b69689ab08
--- /dev/null
+++ b/editors/hte/files/patch-src::srt_x86.cc
@@ -0,0 +1,18 @@
+--- srt/srt_x86.cc.orig Mon Sep 2 02:05:13 2002
++++ srt/srt_x86.cc Wed Aug 4 17:53:58 2004
+@@ -60,13 +60,13 @@
+ k = &cpu->flags[(idx-8) % X86_FLAGS];
+ (*k)->done();
+ delete *k;
+- ((Object*)*k) = o;
++ k = (sym_bool **)o;
+ } else {
+ sym_int **k;
+ k = &cpu->regs[idx & 7];
+ (*k)->done();
+ delete *k;
+- ((Object*)*k) = o;
++ k = (sym_int **)o;
+ }
+ }
+