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
ce41fc04
Commit
ce41fc04
authored
Feb 12, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mlang: Avoid signed-unsigned integer comparisons.
parent
b6717dd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mlang.c
dlls/mlang/mlang.c
+3
-3
No files found.
dlls/mlang/mlang.c
View file @
ce41fc04
...
@@ -3008,7 +3008,7 @@ static HRESULT WINAPI fnIMultiLanguage3_ValidateCodePageEx(
...
@@ -3008,7 +3008,7 @@ static HRESULT WINAPI fnIMultiLanguage3_ValidateCodePageEx(
HWND
hwnd
,
HWND
hwnd
,
DWORD
dwfIODControl
)
DWORD
dwfIODControl
)
{
{
int
i
;
unsigned
int
i
;
MLang_impl
*
This
=
impl_from_IMultiLanguage3
(
iface
);
MLang_impl
*
This
=
impl_from_IMultiLanguage3
(
iface
);
TRACE
(
"%p %u %p %08x
\n
"
,
This
,
uiCodePage
,
hwnd
,
dwfIODControl
);
TRACE
(
"%p %u %p %08x
\n
"
,
This
,
uiCodePage
,
hwnd
,
dwfIODControl
);
...
@@ -3020,7 +3020,7 @@ static HRESULT WINAPI fnIMultiLanguage3_ValidateCodePageEx(
...
@@ -3020,7 +3020,7 @@ static HRESULT WINAPI fnIMultiLanguage3_ValidateCodePageEx(
/* check for mlang supported code pages */
/* check for mlang supported code pages */
for
(
i
=
0
;
i
<
sizeof
(
mlang_data
)
/
sizeof
(
mlang_data
[
0
]);
i
++
)
for
(
i
=
0
;
i
<
sizeof
(
mlang_data
)
/
sizeof
(
mlang_data
[
0
]);
i
++
)
{
{
int
n
;
UINT
n
;
for
(
n
=
0
;
n
<
mlang_data
[
i
].
number_of_cp
;
n
++
)
for
(
n
=
0
;
n
<
mlang_data
[
i
].
number_of_cp
;
n
++
)
{
{
if
(
mlang_data
[
i
].
mime_cp_info
[
n
].
cp
==
uiCodePage
)
if
(
mlang_data
[
i
].
mime_cp_info
[
n
].
cp
==
uiCodePage
)
...
@@ -3139,7 +3139,7 @@ static HRESULT WINAPI fnIMLangFontLink2_GetCharCodePages( IMLangFontLink2* iface
...
@@ -3139,7 +3139,7 @@ static HRESULT WINAPI fnIMLangFontLink2_GetCharCodePages( IMLangFontLink2* iface
WCHAR
ch_src
,
DWORD
*
ret_codepages
)
WCHAR
ch_src
,
DWORD
*
ret_codepages
)
{
{
MLang_impl
*
This
=
impl_from_IMLangFontLink2
(
iface
);
MLang_impl
*
This
=
impl_from_IMLangFontLink2
(
iface
);
int
i
;
unsigned
int
i
;
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_wn
(
&
ch_src
,
1
),
ret_codepages
);
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_wn
(
&
ch_src
,
1
),
ret_codepages
);
...
...
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