summarylogtreecommitdiffstats
path: root/maelstrom-3.0.6-64bits.patch
diff options
context:
space:
mode:
Diffstat (limited to 'maelstrom-3.0.6-64bits.patch')
-rw-r--r--maelstrom-3.0.6-64bits.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/maelstrom-3.0.6-64bits.patch b/maelstrom-3.0.6-64bits.patch
new file mode 100644
index 000000000000..bdf04d3ad30d
--- /dev/null
+++ b/maelstrom-3.0.6-64bits.patch
@@ -0,0 +1,15 @@
+--- screenlib/SDL_FrameBuf.cpp.old 2006-10-25 22:37:21.000000000 +0200
++++ screenlib/SDL_FrameBuf.cpp 2006-10-25 22:38:26.000000000 +0200
+@@ -847,10 +847,8 @@
+ /* Update the dirty rectangle map with the new list */
+ for ( i=0; i<dirtymaplen; ++i ) {
+ if ( dirtymap[i] != NULL ) {
+- dirtymap[i] = (SDL_Rect *)(
+- ((int)dirtymap[i]-(int)updatelist) +
+- (int)newlist
+- );
++ dirtymap[i] = newlist
++ + (dirtymap[i]-updatelist);
+ }
+ }
+ delete[] updatelist;