Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c1add0ff
Commit
c1add0ff
authored
Jun 18, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabinet: Always use INT_PTR for handles.
parent
fc8c21c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
fdi.c
dlls/cabinet/fdi.c
+5
-3
No files found.
dlls/cabinet/fdi.c
View file @
c1add0ff
...
...
@@ -121,7 +121,7 @@ typedef struct {
typedef
struct
fdi_cds_fwd
{
void
*
hfdi
;
/* the hfdi we are using */
int
filehf
,
cabhf
;
/* file handle we are using */
INT_PTR
filehf
,
cabhf
;
/* file handle we are using */
struct
fdi_folder
*
current
;
/* current folder we're extracting from */
cab_ULONG
offset
;
/* uncompressed offset within folder */
cab_UBYTE
*
outpos
;
/* (high level) start of data to use up */
...
...
@@ -2051,7 +2051,8 @@ static int fdi_decomp(const struct fdi_file *fi, int savemode, fdi_decomp_state
/* outlen=0 means this block was the last contiguous part
of a split block, continued in the next cabinet */
if
(
outlen
==
0
)
{
int
pathlen
,
filenamelen
,
idx
,
i
,
cabhf
;
int
pathlen
,
filenamelen
,
idx
,
i
;
INT_PTR
cabhf
;
char
fullpath
[
MAX_PATH
],
userpath
[
256
];
FDINOTIFICATION
fdin
;
FDICABINETINFO
fdici
;
...
...
@@ -2432,7 +2433,8 @@ BOOL __cdecl FDICopy(
{
FDICABINETINFO
fdici
;
FDINOTIFICATION
fdin
;
int
cabhf
,
filehf
=
0
,
idx
;
INT_PTR
cabhf
,
filehf
=
0
;
int
idx
;
unsigned
int
i
;
char
fullpath
[
MAX_PATH
];
size_t
pathlen
,
filenamelen
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment