Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
6c7d61be
Commit
6c7d61be
authored
Feb 11, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iccvid: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5442ddc7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
Makefile.in
dlls/iccvid/Makefile.in
+0
-1
iccvid.c
dlls/iccvid/iccvid.c
+8
-8
No files found.
dlls/iccvid/Makefile.in
View file @
6c7d61be
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
iccvid.dll
IMPORTS
=
user32
...
...
dlls/iccvid/iccvid.c
View file @
6c7d61be
...
...
@@ -743,8 +743,8 @@ static void ICCVID_dump_BITMAPINFO(const BITMAPINFO * bmi)
TRACE
(
"planes = %d
\n
"
"bpp = %d
\n
"
"height = %d
\n
"
"width = %d
\n
"
"height = %
l
d
\n
"
"width = %
l
d
\n
"
"compr = %s
\n
"
,
bmi
->
bmiHeader
.
biPlanes
,
bmi
->
bmiHeader
.
biBitCount
,
...
...
@@ -759,7 +759,7 @@ static inline int ICCVID_CheckMask(RGBQUAD bmiColors[3], COLORREF redMask, COLOR
COLORREF
realBlueMask
=
MAKECOLOUR32
(
bmiColors
[
1
].
rgbRed
,
bmiColors
[
1
].
rgbGreen
,
bmiColors
[
1
].
rgbBlue
);
COLORREF
realGreenMask
=
MAKECOLOUR32
(
bmiColors
[
2
].
rgbRed
,
bmiColors
[
2
].
rgbGreen
,
bmiColors
[
2
].
rgbBlue
);
TRACE
(
"
\n
bmiColors[0] = 0x%08
x
\n
bmiColors[1] = 0x%08x
\n
bmiColors[2] = 0x%08
x
\n
"
,
TRACE
(
"
\n
bmiColors[0] = 0x%08
lx
\n
bmiColors[1] = 0x%08lx
\n
bmiColors[2] = 0x%08l
x
\n
"
,
realRedMask
,
realBlueMask
,
realGreenMask
);
if
((
realRedMask
==
redMask
)
&&
...
...
@@ -888,7 +888,7 @@ static LRESULT ICCVID_Decompress( ICCVID_Info *info, ICDECOMPRESS *icd, DWORD si
LONG
width
,
height
;
BOOL
inverted
;
TRACE
(
"ICM_DECOMPRESS %p %p %d
\n
"
,
info
,
icd
,
size
);
TRACE
(
"ICM_DECOMPRESS %p %p %
l
d
\n
"
,
info
,
icd
,
size
);
if
(
(
info
==
NULL
)
||
(
info
->
dwMagic
!=
ICCVID_MAGIC
)
)
return
ICERR_BADPARAM
;
...
...
@@ -913,7 +913,7 @@ static LRESULT ICCVID_DecompressEx( ICCVID_Info *info, ICDECOMPRESSEX *icd, DWOR
LONG
width
,
height
;
BOOL
inverted
;
TRACE
(
"ICM_DECOMPRESSEX %p %p %d
\n
"
,
info
,
icd
,
size
);
TRACE
(
"ICM_DECOMPRESSEX %p %p %
l
d
\n
"
,
info
,
icd
,
size
);
if
(
(
info
==
NULL
)
||
(
info
->
dwMagic
!=
ICCVID_MAGIC
)
)
return
ICERR_BADPARAM
;
...
...
@@ -979,7 +979,7 @@ LRESULT WINAPI ICCVID_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
{
ICCVID_Info
*
info
=
(
ICCVID_Info
*
)
dwDriverId
;
TRACE
(
"%
ld %p %d %ld %l
d
\n
"
,
dwDriverId
,
hdrvr
,
msg
,
lParam1
,
lParam2
);
TRACE
(
"%
Id %p %d %Id %I
d
\n
"
,
dwDriverId
,
hdrvr
,
msg
,
lParam1
,
lParam2
);
switch
(
msg
)
{
...
...
@@ -1043,14 +1043,14 @@ LRESULT WINAPI ICCVID_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
return
ICERR_UNSUPPORTED
;
default:
FIXME
(
"Unknown message: %04x %
ld %l
d
\n
"
,
msg
,
lParam1
,
lParam2
);
FIXME
(
"Unknown message: %04x %
Id %I
d
\n
"
,
msg
,
lParam1
,
lParam2
);
}
return
ICERR_UNSUPPORTED
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hModule
,
DWORD
dwReason
,
LPVOID
lpReserved
)
{
TRACE
(
"(%p,%d,%p)
\n
"
,
hModule
,
dwReason
,
lpReserved
);
TRACE
(
"(%p,%
l
d,%p)
\n
"
,
hModule
,
dwReason
,
lpReserved
);
switch
(
dwReason
)
{
...
...
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