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
eecaf487
Commit
eecaf487
authored
Oct 30, 2019
by
Serge Gautherie
Committed by
Alexandre Julliard
Oct 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Fix a MSVC x64 printf warning.
Signed-off-by:
Serge Gautherie
<
winehq-git_serge_180711@gautherie.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c58e3a5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
atl30.c
dlls/atl/atl30.c
+3
-3
No files found.
dlls/atl/atl30.c
View file @
eecaf487
...
...
@@ -313,7 +313,7 @@ ATOM WINAPI AtlModuleRegisterWndClassInfoA(_ATL_MODULEA *pm, _ATL_WNDCLASSINFOA
if
(
!
wci
->
m_wc
.
lpszClassName
)
{
sprintf
(
wci
->
m_szAutoName
,
"ATL%08
lx"
,
(
UINT_PTR
)
wci
);
sprintf
(
wci
->
m_szAutoName
,
"ATL%08
x"
,
PtrToUint
(
wci
)
);
TRACE
(
"auto-generated class name %s
\n
"
,
wci
->
m_szAutoName
);
wci
->
m_wc
.
lpszClassName
=
wci
->
m_szAutoName
;
}
...
...
@@ -372,8 +372,8 @@ ATOM WINAPI AtlModuleRegisterWndClassInfoW(_ATL_MODULEW *pm, _ATL_WNDCLASSINFOW
if
(
!
wci
->
m_wc
.
lpszClassName
)
{
static
const
WCHAR
szFormat
[]
=
{
'A'
,
'T'
,
'L'
,
'%'
,
'0'
,
'8'
,
'
l'
,
'
x'
,
0
};
swprintf
(
wci
->
m_szAutoName
,
ARRAY_SIZE
(
wci
->
m_szAutoName
),
szFormat
,
(
UINT_PTR
)
wci
);
static
const
WCHAR
szFormat
[]
=
{
'A'
,
'T'
,
'L'
,
'%'
,
'0'
,
'8'
,
'x'
,
0
};
swprintf
(
wci
->
m_szAutoName
,
ARRAY_SIZE
(
wci
->
m_szAutoName
),
szFormat
,
PtrToUint
(
wci
)
);
TRACE
(
"auto-generated class name %s
\n
"
,
debugstr_w
(
wci
->
m_szAutoName
));
wci
->
m_wc
.
lpszClassName
=
wci
->
m_szAutoName
;
}
...
...
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