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
1a1577d7
Commit
1a1577d7
authored
Feb 13, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Avoid signed-unsigned integer comparisons.
parent
78d9ee8a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
categorymgr.c
dlls/msctf/categorymgr.c
+1
-1
context.c
dlls/msctf/context.c
+1
-1
msctf.c
dlls/msctf/msctf.c
+5
-5
threadmgr.c
dlls/msctf/threadmgr.c
+1
-1
No files found.
dlls/msctf/categorymgr.c
View file @
1a1577d7
...
...
@@ -241,7 +241,7 @@ static HRESULT WINAPI CategoryMgr_FindClosestCategory ( ITfCategoryMgr *iface,
if
(
ulCount
)
{
int
j
;
ULONG
j
;
BOOL
found
=
FALSE
;
for
(
j
=
0
;
j
<
ulCount
;
j
++
)
if
(
IsEqualGUID
(
&
guid
,
ppcatidList
[
j
]))
...
...
dlls/msctf/context.c
View file @
1a1577d7
...
...
@@ -369,7 +369,7 @@ static HRESULT WINAPI Context_SetSelection (ITfContext *iface,
{
TS_SELECTION_ACP
*
acp
;
Context
*
This
=
(
Context
*
)
iface
;
INT
i
;
ULONG
i
;
HRESULT
hr
;
TRACE
(
"(%p) %i %i %p
\n
"
,
This
,
ec
,
ulCount
,
pSelection
);
...
...
dlls/msctf/msctf.c
View file @
1a1577d7
...
...
@@ -198,7 +198,7 @@ static HRESULT ClassFactory_Constructor(LPFNCONSTRUCTOR ctor, LPVOID *ppvOut)
*/
DWORD
generate_Cookie
(
DWORD
magic
,
LPVOID
data
)
{
int
i
;
UINT
i
;
/* try to reuse IDs if possible */
for
(
i
=
0
;
i
<
id_last
;
i
++
)
...
...
@@ -282,7 +282,7 @@ LPVOID remove_Cookie(DWORD id)
DWORD
enumerate_Cookie
(
DWORD
magic
,
DWORD
*
index
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
*
index
;
i
<
id_last
;
i
++
)
if
(
cookies
[
i
].
id
!=
0
&&
cookies
[
i
].
magic
==
magic
)
{
...
...
@@ -614,12 +614,12 @@ HRESULT WINAPI SetInputScopes(HWND hwnd, const INT *pInputScopes,
UINT
cInputScopes
,
WCHAR
**
ppszPhraseList
,
UINT
cPhrases
,
WCHAR
*
pszRegExp
,
WCHAR
*
pszSRGS
)
{
int
i
;
UINT
i
;
FIXME
(
"STUB: %p ... %s %s
\n
"
,
hwnd
,
debugstr_w
(
pszRegExp
),
debugstr_w
(
pszSRGS
));
for
(
i
=
0
;
i
<
cInputScopes
;
i
++
)
TRACE
(
"
\t
Scope[%
i
] = %i
\n
"
,
i
,
pInputScopes
[
i
]);
TRACE
(
"
\t
Scope[%
u
] = %i
\n
"
,
i
,
pInputScopes
[
i
]);
for
(
i
=
0
;
i
<
cPhrases
;
i
++
)
TRACE
(
"
\t
Phrase[%
i
] = %s
\n
"
,
i
,
debugstr_w
(
ppszPhraseList
[
i
]));
TRACE
(
"
\t
Phrase[%
u
] = %s
\n
"
,
i
,
debugstr_w
(
ppszPhraseList
[
i
]));
return
S_OK
;
}
...
...
dlls/msctf/threadmgr.c
View file @
1a1577d7
...
...
@@ -1392,7 +1392,7 @@ static HRESULT WINAPI EnumTfDocumentMgr_Next(IEnumTfDocumentMgrs *iface,
static
HRESULT
WINAPI
EnumTfDocumentMgr_Skip
(
IEnumTfDocumentMgrs
*
iface
,
ULONG
celt
)
{
INT
i
;
ULONG
i
;
EnumTfDocumentMgr
*
This
=
(
EnumTfDocumentMgr
*
)
iface
;
TRACE
(
"(%p)
\n
"
,
This
);
for
(
i
=
0
;
i
<
celt
&&
This
->
index
!=
NULL
;
i
++
)
...
...
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