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
89424ce8
Commit
89424ce8
authored
Jul 05, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jul 05, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-Wpointer-sign fixes for gcc 4.0.
parent
27407fad
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
driver.c
dlls/gdi/driver.c
+1
-1
freetype.c
dlls/gdi/freetype.c
+1
-1
printdrv.c
dlls/gdi/printdrv.c
+1
-1
No files found.
dlls/gdi/driver.c
View file @
89424ce8
...
...
@@ -226,7 +226,7 @@ static struct graphics_driver *load_display_driver(void)
if
(
!
RegOpenKeyA
(
HKEY_CURRENT_USER
,
"Software
\\
Wine
\\
Drivers"
,
&
hkey
))
{
DWORD
type
,
count
=
sizeof
(
buffer
);
RegQueryValueExA
(
hkey
,
"Graphics"
,
0
,
&
type
,
buffer
,
&
count
);
RegQueryValueExA
(
hkey
,
"Graphics"
,
0
,
&
type
,
(
LPBYTE
)
buffer
,
&
count
);
RegCloseKey
(
hkey
);
}
...
...
dlls/gdi/freetype.c
View file @
89424ce8
...
...
@@ -2209,7 +2209,7 @@ static FT_UInt get_glyph_index(GdiFont font, UINT glyph)
{
if
(
font
->
ft_face
->
charmap
->
encoding
==
FT_ENCODING_NONE
)
{
WCHAR
wc
=
(
WCHAR
)
glyph
;
unsigned
char
buf
;
char
buf
;
WideCharToMultiByte
(
font
->
codepage
,
0
,
&
wc
,
1
,
&
buf
,
sizeof
(
buf
),
0
,
0
);
return
pFT_Get_Char_Index
(
font
->
ft_face
,
buf
);
}
...
...
dlls/gdi/printdrv.c
View file @
89424ce8
...
...
@@ -465,7 +465,7 @@ static int CreateSpoolFile(LPCSTR pszOutput)
if
(
!
RegOpenKeyA
(
HKEY_CURRENT_USER
,
"Software
\\
Wine
\\
Printing
\\
Spooler"
,
&
hkey
))
{
DWORD
type
,
count
=
sizeof
(
psCmd
);
RegQueryValueExA
(
hkey
,
pszOutput
,
0
,
&
type
,
psCmd
,
&
count
);
RegQueryValueExA
(
hkey
,
pszOutput
,
0
,
&
type
,
(
LPBYTE
)
psCmd
,
&
count
);
RegCloseKey
(
hkey
);
}
if
(
!
psCmd
[
0
]
&&
!
strncmp
(
"LPR:"
,
pszOutput
,
4
))
...
...
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