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
0197a1c0
Commit
0197a1c0
authored
Feb 09, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabinet: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e59b5569
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
dlls/cabinet/Makefile.in
+0
-1
fdi.c
dlls/cabinet/fdi.c
+3
-3
No files found.
dlls/cabinet/Makefile.in
View file @
0197a1c0
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
cabinet.dll
IMPORTLIB
=
cabinet
IMPORTS
=
$(ZLIB_PE_LIBS)
...
...
dlls/cabinet/fdi.c
View file @
0197a1c0
...
...
@@ -482,7 +482,7 @@ static char *FDI_read_string(FDI_Int *fdi, INT_PTR hf, long cabsize)
unsigned
int
i
;
cab_UBYTE
*
buf
=
NULL
;
TRACE
(
"(fdi == %p, hf == %
l
d, cabsize == %ld)
\n
"
,
fdi
,
hf
,
cabsize
);
TRACE
(
"(fdi == %p, hf == %
I
d, cabsize == %ld)
\n
"
,
fdi
,
hf
,
cabsize
);
do
{
if
(
len
>
maxlen
)
len
=
maxlen
;
...
...
@@ -541,7 +541,7 @@ static BOOL FDI_read_entries(
cab_UBYTE
buf
[
64
],
block_resv
;
char
*
prevname
=
NULL
,
*
previnfo
=
NULL
,
*
nextname
=
NULL
,
*
nextinfo
=
NULL
;
TRACE
(
"(fdi == ^%p, hf == %
l
d, pfdici == ^%p)
\n
"
,
fdi
,
hf
,
pfdici
);
TRACE
(
"(fdi == ^%p, hf == %
I
d, pfdici == ^%p)
\n
"
,
fdi
,
hf
,
pfdici
);
/* read in the CFHEADER */
if
(
fdi
->
read
(
hf
,
buf
,
cfhead_SIZEOF
)
!=
cfhead_SIZEOF
)
{
...
...
@@ -698,7 +698,7 @@ BOOL __cdecl FDIIsCabinet(HFDI hfdi, INT_PTR hf, PFDICABINETINFO pfdici)
BOOL
rv
;
FDI_Int
*
fdi
=
get_fdi_ptr
(
hfdi
);
TRACE
(
"(hfdi == ^%p, hf == ^%
l
d, pfdici == ^%p)
\n
"
,
hfdi
,
hf
,
pfdici
);
TRACE
(
"(hfdi == ^%p, hf == ^%
I
d, pfdici == ^%p)
\n
"
,
hfdi
,
hf
,
pfdici
);
if
(
!
fdi
)
return
FALSE
;
...
...
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