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
dd8e833d
Commit
dd8e833d
authored
Dec 04, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Sign-compare warnings fix.
parent
53c1c8a8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
desktop.c
dlls/winex11.drv/desktop.c
+1
-1
dib.c
dlls/winex11.drv/dib.c
+2
-2
ime.c
dlls/winex11.drv/ime.c
+1
-1
No files found.
dlls/winex11.drv/desktop.c
View file @
dd8e833d
...
...
@@ -45,7 +45,7 @@ static const unsigned int heights[] = {200, 300, 384, 480, 600, 768, 864, 1024
/* create the mode structures */
static
void
make_modes
(
void
)
{
int
i
;
unsigned
int
i
;
/* original specified desktop size */
X11DRV_Settings_AddOneMode
(
screen_width
,
screen_height
,
0
,
60
);
for
(
i
=
0
;
i
<
NUM_DESKTOP_MODES
;
i
++
)
...
...
dlls/winex11.drv/dib.c
View file @
dd8e833d
...
...
@@ -441,7 +441,7 @@ static int *X11DRV_DIB_BuildColorMap( X11DRV_PDEVICE *physDev, WORD coloruse, WO
*/
static
int
X11DRV_DIB_MapColor
(
int
*
physMap
,
int
nPhysMap
,
int
phys
,
int
oldcol
)
{
unsigned
int
color
;
int
color
;
if
((
oldcol
<
nPhysMap
)
&&
(
physMap
[
oldcol
]
==
phys
))
return
oldcol
;
...
...
@@ -4314,7 +4314,7 @@ void X11DRV_DIB_CopyDIBSection(X11DRV_PDEVICE *physDevSrc, X11DRV_PDEVICE *physD
freeColorMap
=
FALSE
;
}
else
{
const
BITMAPINFO
*
info
=
(
BITMAPINFO
*
)
&
dib
.
dsBmih
;
int
i
;
unsigned
int
i
;
nColorMap
=
X11DRV_DIB_GetColorCount
(
info
);
x11ColorMap
=
HeapAlloc
(
GetProcessHeap
(),
0
,
nColorMap
*
sizeof
(
int
));
...
...
dlls/winex11.drv/ime.c
View file @
dd8e833d
...
...
@@ -505,7 +505,7 @@ static void GenerateIMECHARMessages(HIMC hIMC, LPWSTR String, DWORD length)
{
LPINPUTCONTEXT
lpIMC
;
LPTRANSMSG
lpTransMsg
;
INT
i
;
DWORD
i
;
if
(
length
<=
0
)
return
;
...
...
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