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
03e2b335
Commit
03e2b335
authored
Jun 13, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Don't use sizeof in traces to avoid printf format warnings.
parent
553bb259
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
propsheet.c
dlls/comctl32/propsheet.c
+4
-3
mru.c
dlls/comctl32/tests/mru.c
+1
-1
No files found.
dlls/comctl32/propsheet.c
View file @
03e2b335
...
...
@@ -1248,6 +1248,7 @@ static UINT GetTemplateSize(DLGTEMPLATE* pTemplate)
const
WORD
*
p
=
(
const
WORD
*
)
pTemplate
;
BOOL
istemplateex
=
(((
MyDLGTEMPLATEEX
*
)
pTemplate
)
->
signature
==
0xFFFF
);
WORD
nrofitems
;
UINT
ret
;
if
(
istemplateex
)
{
...
...
@@ -1363,9 +1364,9 @@ static UINT GetTemplateSize(DLGTEMPLATE* pTemplate)
--
nrofitems
;
}
TRACE
(
"%p %p size 0x%08x
\n
"
,
p
,
(
WORD
*
)
pTemplate
,
sizeof
(
WORD
)
*
(
p
-
(
WORD
*
)
pTemplate
)
);
return
(
p
-
(
WORD
*
)
pTemplate
)
*
sizeof
(
WORD
);
ret
=
(
p
-
(
WORD
*
)
pTemplate
)
*
sizeof
(
WORD
);
TRACE
(
"%p %p size 0x%08x
\n
"
,
p
,
pTemplate
,
ret
);
return
ret
;
}
/******************************************************************************
...
...
dlls/comctl32/tests/mru.c
View file @
03e2b335
...
...
@@ -100,7 +100,7 @@ static void check_reg_entries(const char *mrulist, const char**items)
char
buff
[
128
];
HKEY
hKey
=
NULL
;
DWORD
type
,
size
,
ret
;
size_
t
i
;
unsigned
in
t
i
;
ok
(
!
RegOpenKeyA
(
HKEY_CURRENT_USER
,
REG_TEST_FULLKEY
,
&
hKey
),
"Couldn't open test key
\"
%s
\"\n
"
,
REG_TEST_FULLKEY
);
...
...
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