Fix off_t cast that breaks FreeBSD.

This commit is contained in:
Gerald Pfeifer 2003-01-02 17:52:53 +00:00 committed by Alexandre Julliard
parent 88a5cb569b
commit e9ba70c364
1 changed files with 1 additions and 1 deletions

View File

@ -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);