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
3878ebcd
Commit
3878ebcd
authored
Oct 02, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user: Cast-qual warnings fix.
parent
57e7e2b3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
cursoricon.c
dlls/user/cursoricon.c
+4
-4
exticon.c
dlls/user/exticon.c
+1
-1
spy.c
dlls/user/spy.c
+1
-1
No files found.
dlls/user/cursoricon.c
View file @
3878ebcd
...
...
@@ -269,7 +269,7 @@ static BOOL is_dib_monochrome( const BITMAPINFO* info )
if
(
info
->
bmiHeader
.
biSize
==
sizeof
(
BITMAPCOREHEADER
))
{
RGBTRIPLE
*
rgb
=
((
BITMAPCOREINFO
*
)
info
)
->
bmciColors
;
const
RGBTRIPLE
*
rgb
=
((
const
BITMAPCOREINFO
*
)
info
)
->
bmciColors
;
/* Check if the first color is black */
if
((
rgb
->
rgbtRed
==
0
)
&&
(
rgb
->
rgbtGreen
==
0
)
&&
(
rgb
->
rgbtBlue
==
0
))
...
...
@@ -320,7 +320,7 @@ static int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width,
}
if
(
header
->
biSize
==
sizeof
(
BITMAPCOREHEADER
))
{
BITMAPCOREHEADER
*
core
=
(
BITMAPCOREHEADER
*
)
header
;
const
BITMAPCOREHEADER
*
core
=
(
const
BITMAPCOREHEADER
*
)
header
;
*
width
=
core
->
bcWidth
;
*
height
=
core
->
bcHeight
;
*
bpp
=
core
->
bcBitCount
;
...
...
@@ -329,7 +329,7 @@ static int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width,
}
if
(
header
->
biSize
==
sizeof
(
BITMAPV4HEADER
))
{
BITMAPV4HEADER
*
v4hdr
=
(
BITMAPV4HEADER
*
)
header
;
const
BITMAPV4HEADER
*
v4hdr
=
(
const
BITMAPV4HEADER
*
)
header
;
*
width
=
v4hdr
->
bV4Width
;
*
height
=
v4hdr
->
bV4Height
;
*
bpp
=
v4hdr
->
bV4BitCount
;
...
...
@@ -338,7 +338,7 @@ static int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, LONG *width,
}
if
(
header
->
biSize
==
sizeof
(
BITMAPV5HEADER
))
{
BITMAPV5HEADER
*
v5hdr
=
(
BITMAPV5HEADER
*
)
header
;
const
BITMAPV5HEADER
*
v5hdr
=
(
const
BITMAPV5HEADER
*
)
header
;
*
width
=
v5hdr
->
bV5Width
;
*
height
=
v5hdr
->
bV5Height
;
*
bpp
=
v5hdr
->
bV5BitCount
;
...
...
dlls/user/exticon.c
View file @
3878ebcd
...
...
@@ -607,7 +607,7 @@ static UINT ICO_ExtractIconExW(
const
IMAGE_RESOURCE_DIRECTORY
*
resdir
;
/* go down this resource entry, name */
resdir
=
(
PIMAGE_RESOURCE_DIRECTORY
)((
char
*
)
rootresdir
+
xresent
->
u2
.
s3
.
OffsetToDirectory
);
resdir
=
(
const
IMAGE_RESOURCE_DIRECTORY
*
)((
const
char
*
)
rootresdir
+
xresent
->
u2
.
s3
.
OffsetToDirectory
);
/* default language (0) */
resdir
=
find_entry_default
(
resdir
,
rootresdir
);
...
...
dlls/user/spy.c
View file @
3878ebcd
...
...
@@ -2659,7 +2659,7 @@ int SPY_Init(void)
q
++
;
}
q
--
;
cc_array
[
i
].
lastmsg
=
(
USER_MSG
*
)
q
;
cc_array
[
i
].
lastmsg
=
q
;
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