Commit e9ba70c3 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

Fix off_t cast that breaks FreeBSD.

parent 88a5cb56
......@@ -472,7 +472,7 @@ BOOL cabinet_read_entries(struct cabinet *cab)
}
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment