Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
fd00c806
Commit
fd00c806
authored
Mar 09, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Avoid signed-unsigned integer comparisons.
parent
3e2c44af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
analyzer.c
dlls/dwrite/analyzer.c
+1
-1
font.c
dlls/dwrite/font.c
+2
-2
main.c
dlls/dwrite/main.c
+1
-1
No files found.
dlls/dwrite/analyzer.c
View file @
fd00c806
...
...
@@ -211,7 +211,7 @@ static const struct script_range script_ranges[] = {
static
UINT16
get_char_script
(
WCHAR
c
)
{
DWORD
ch
=
c
;
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
sizeof
(
script_ranges
)
/
sizeof
(
struct
script_range
);
i
++
)
{
...
...
dlls/dwrite/font.c
View file @
fd00c806
...
...
@@ -288,7 +288,7 @@ static HRESULT WINAPI dwritefontface_GetGlyphIndices(IDWriteFontFace *iface, UIN
HFONT
hfont
;
WCHAR
*
str
;
HDC
hdc
;
int
i
;
unsigned
int
i
;
TRACE
(
"(%p)->(%p %u %p)
\n
"
,
This
,
codepoints
,
count
,
glyph_indices
);
...
...
@@ -783,7 +783,7 @@ static INT CALLBACK enum_font_families(const LOGFONTW *lf, const TEXTMETRICW *tm
static
void
release_font_collection
(
IDWriteFontCollection
*
iface
)
{
struct
dwrite_fontcollection
*
This
=
impl_from_IDWriteFontCollection
(
iface
);
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
This
->
count
;
i
++
)
heap_free
(
This
->
families
[
i
]);
...
...
dlls/dwrite/main.c
View file @
fd00c806
...
...
@@ -228,7 +228,7 @@ static ULONG WINAPI localizedstrings_Release(IDWriteLocalizedStrings *iface)
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
This
->
count
;
i
++
)
{
heap_free
(
This
->
data
[
i
].
locale
);
...
...
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