aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/wine-devel/files/patch-dlls-cabinet
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine-devel/files/patch-dlls-cabinet')
-rw-r--r--emulators/wine-devel/files/patch-dlls-cabinet11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/wine-devel/files/patch-dlls-cabinet b/emulators/wine-devel/files/patch-dlls-cabinet
new file mode 100644
index 000000000000..bf717630902d
--- /dev/null
+++ b/emulators/wine-devel/files/patch-dlls-cabinet
@@ -0,0 +1,11 @@
+--- dlls/cabinet/cabextract.c.orig 19 Dec 2002 21:16:56 -0000 1.1
++++ dlls/cabinet/cabextract.c 26 Dec 2002 21:29:22 -0000
+@@ -472,7 +472,7 @@ BOOL cabinet_read_entries(struct cabinet
+ }
+
+ fol->cab[0] = cab;
+- fol->offset[0] = base_offset + (off_t) EndGetI32(buf+cffold_DataOffset);
++ fol->offset[0] = base_offset + (cab_off_t) EndGetI32(buf+cffold_DataOffset);
+ fol->num_blocks = EndGetI16(buf+cffold_NumBlocks);
+ fol->comp_type = EndGetI16(buf+cffold_CompType);
+