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
c29892b8
Commit
c29892b8
authored
Aug 12, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some gcc 4.0 warnings.
parent
70adb8f5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
clipboard.c
dlls/x11drv/clipboard.c
+1
-1
xdnd.c
dlls/x11drv/xdnd.c
+1
-1
xfont.c
dlls/x11drv/xfont.c
+1
-1
xrandr.c
dlls/x11drv/xrandr.c
+1
-1
xrender.c
dlls/x11drv/xrender.c
+3
-3
No files found.
dlls/x11drv/clipboard.c
View file @
c29892b8
...
...
@@ -1952,7 +1952,7 @@ static HANDLE X11DRV_CLIPBOARD_SerializeMetafile(INT wformat, HANDLE hdata, LPDW
memcpy
(
lpmfp
,
(
LPVOID
)
hdata
,
sizeof
(
METAFILEPICT
));
wiresize
=
*
lpcbytes
-
sizeof
(
METAFILEPICT
);
lpmfp
->
hMF
=
SetMetaFileBitsEx
(
wiresize
,
((
const
char
*
)
hdata
)
+
sizeof
(
METAFILEPICT
));
((
const
BYTE
*
)
hdata
)
+
sizeof
(
METAFILEPICT
));
size
=
GetMetaFileBitsEx
(
lpmfp
->
hMF
,
0
,
NULL
);
GlobalUnlock
(
h
);
}
...
...
dlls/x11drv/xdnd.c
View file @
c29892b8
...
...
@@ -111,7 +111,7 @@ void X11DRV_XDND_EnterEvent( HWND hWnd, XClientMessageEvent *event )
else
{
count
=
3
;
xdndtypes
=
&
event
->
data
.
l
[
2
];
xdndtypes
=
(
Atom
*
)
&
event
->
data
.
l
[
2
];
}
if
(
TRACE_ON
(
xdnd
))
...
...
dlls/x11drv/xfont.c
View file @
c29892b8
...
...
@@ -3410,7 +3410,7 @@ BOOL X11DRV_GetCharWidth( X11DRV_PDEVICE *physDev, UINT firstChar, UINT lastChar
WCHAR
wch
=
i
;
BYTE
ch
;
UINT
ch_f
;
/* character code in the font encoding */
WideCharToMultiByte
(
pfo
->
fi
->
codepage
,
0
,
&
wch
,
1
,
&
ch
,
1
,
NULL
,
NULL
);
WideCharToMultiByte
(
pfo
->
fi
->
codepage
,
0
,
&
wch
,
1
,
(
LPSTR
)
&
ch
,
1
,
NULL
,
NULL
);
ch_f
=
ch
;
if
(
ch_f
>=
pfo
->
fs
->
min_char_or_byte2
&&
ch_f
<=
pfo
->
fs
->
max_char_or_byte2
)
...
...
dlls/x11drv/xrandr.c
View file @
c29892b8
...
...
@@ -78,7 +78,7 @@ static LPDDHALMODEINFO dd_modes;
static
unsigned
int
dd_mode_count
;
static
XRRScreenSize
*
real_xrandr_sizes
;
static
short
**
real_xrandr_rates
;
static
unsigned
int
real_xrandr_sizes_count
;
static
int
real_xrandr_sizes_count
;
static
int
*
real_xrandr_rates_count
;
static
unsigned
int
real_xrandr_modes_count
;
...
...
dlls/x11drv/xrender.c
View file @
c29892b8
...
...
@@ -702,7 +702,7 @@ static BOOL UploadGlyph(X11DRV_PDEVICE *physDev, int glyph, AA_Type format)
if
(
format
==
AA_None
)
{
pitch
=
((
gi
.
width
+
31
)
/
32
)
*
4
;
for
(
i
=
0
;
i
<
gi
.
height
;
i
++
)
{
line
=
buf
+
i
*
pitch
;
line
=
(
unsigned
char
*
)
buf
+
i
*
pitch
;
output
[
0
]
=
'\0'
;
for
(
j
=
0
;
j
<
pitch
*
8
;
j
++
)
{
strcat
(
output
,
(
line
[
j
/
8
]
&
(
1
<<
(
7
-
(
j
%
8
))))
?
"#"
:
" "
);
...
...
@@ -717,7 +717,7 @@ static BOOL UploadGlyph(X11DRV_PDEVICE *physDev, int glyph, AA_Type format)
str
[
1
]
=
'\0'
;
pitch
=
((
gi
.
width
+
3
)
/
4
)
*
4
;
for
(
i
=
0
;
i
<
gi
.
height
;
i
++
)
{
line
=
buf
+
i
*
pitch
;
line
=
(
unsigned
char
*
)
buf
+
i
*
pitch
;
output
[
0
]
=
'\0'
;
for
(
j
=
0
;
j
<
pitch
;
j
++
)
{
str
[
0
]
=
blks
[
line
[
j
]
>>
5
];
...
...
@@ -731,7 +731,7 @@ static BOOL UploadGlyph(X11DRV_PDEVICE *physDev, int glyph, AA_Type format)
if
(
formatEntry
->
glyphset
)
{
if
(
format
==
AA_None
&&
BitmapBitOrder
(
gdi_display
)
!=
MSBFirst
)
{
unsigned
char
*
byte
=
buf
,
c
;
unsigned
char
*
byte
=
(
unsigned
char
*
)
buf
,
c
;
int
i
=
buflen
;
while
(
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