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
dbfac2ee
Commit
dbfac2ee
authored
Aug 22, 2005
by
Kevin Koltzau
Committed by
Alexandre Julliard
Aug 22, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 'cast to pointer from integer of different size' warnings in
64bit.
parent
1b2adad8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
registrar.c
dlls/atl/registrar.c
+2
-2
msstyles.c
dlls/uxtheme/msstyles.c
+1
-1
No files found.
dlls/atl/registrar.c
View file @
dbfac2ee
...
...
@@ -634,7 +634,7 @@ static HRESULT WINAPI Registrar_ResourceRegister(IRegistrar* iface, LPCOLESTR re
{
Registrar
*
This
=
(
Registrar
*
)
iface
;
TRACE
(
"(%p)->(%s %d %s)
\n
"
,
iface
,
debugstr_w
(
resFileName
),
nID
,
debugstr_w
(
szType
));
return
resource_register
(
This
,
resFileName
,
(
LPOLESTR
)
nID
,
szType
,
TRUE
);
return
resource_register
(
This
,
resFileName
,
MAKEINTRESOURCEW
(
nID
)
,
szType
,
TRUE
);
}
static
HRESULT
WINAPI
Registrar_ResourceUnregister
(
IRegistrar
*
iface
,
LPCOLESTR
resFileName
,
...
...
@@ -642,7 +642,7 @@ static HRESULT WINAPI Registrar_ResourceUnregister(IRegistrar* iface, LPCOLESTR
{
Registrar
*
This
=
(
Registrar
*
)
iface
;
TRACE
(
"(%p)->(%s %d %s)
\n
"
,
This
,
debugstr_w
(
resFileName
),
nID
,
debugstr_w
(
szType
));
return
resource_register
(
This
,
resFileName
,
(
LPOLESTR
)
nID
,
szType
,
FALSE
);
return
resource_register
(
This
,
resFileName
,
MAKEINTRESOURCEW
(
nID
)
,
szType
,
FALSE
);
}
static
const
IRegistrarVtbl
RegistrarVtbl
=
{
...
...
dlls/uxtheme/msstyles.c
View file @
dbfac2ee
...
...
@@ -711,7 +711,7 @@ void MSSTYLES_ParseThemeIni(PTHEME_FILE tf, BOOL setMetrics)
}
else
if
(
setMetrics
&&
(
iPropertyId
==
TMT_FLATMENUS
))
{
BOOL
flatMenus
=
(
*
lpValue
==
'T'
)
||
(
*
lpValue
==
't'
);
SystemParametersInfoW
(
SPI_SETFLATMENU
,
0
,
(
PVOID
)
flatMenus
,
0
);
SystemParametersInfoW
(
SPI_SETFLATMENU
,
0
,
(
PVOID
)
(
INT_PTR
)
flatMenus
,
0
);
}
/* Catch all metrics, including colors */
MSSTYLES_AddMetric
(
tf
,
iPropertyPrimitive
,
iPropertyId
,
lpValue
,
dwValueLen
);
...
...
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