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
4978194f
Commit
4978194f
authored
May 30, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Fix compilation warnings in 64-bit mode.
parent
edbc6e7b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
xfont.c
dlls/winex11.drv/xfont.c
+4
-3
No files found.
dlls/winex11.drv/xfont.c
View file @
4978194f
...
...
@@ -2201,9 +2201,10 @@ static BOOL XFONT_ReadCachedMetrics( int fd, int res, unsigned x_checksum, int x
{
if
(
offset
>
length
||
pfi
->
cptable
>=
(
UINT16
)
X11DRV_CPTABLE_COUNT
||
(
int
)
(
pfi
->
next
)
!=
j
++
)
PtrToInt
(
pfi
->
next
)
!=
j
++
)
{
TRACE
(
"error: offset=%ld length=%ld cptable=%d pfi->next=%d j=%d
\n
"
,(
long
)
offset
,(
long
)
length
,
pfi
->
cptable
,(
int
)
pfi
->
next
,
j
-
1
);
TRACE
(
"error: offset=%ld length=%ld cptable=%d pfi->next=%p j=%d
\n
"
,
(
long
)
offset
,
(
long
)
length
,
pfi
->
cptable
,
pfi
->
next
,
j
-
1
);
goto
fail
;
}
...
...
@@ -2332,7 +2333,7 @@ static BOOL XFONT_WriteCachedMetrics( int fd, unsigned x_checksum, int x_count,
fi
=
*
pfi
;
fi
.
df
.
dfFace
=
NULL
;
fi
.
next
=
(
fontInfo
*
)
k
;
/* loader checks this */
fi
.
next
=
IntToPtr
(
k
)
;
/* loader checks this */
j
=
write
(
fd
,
&
fi
,
sizeof
(
fi
)
);
k
++
;
...
...
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