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
650b2733
Commit
650b2733
authored
Dec 18, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Remove unneeded casts.
parent
c9700896
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
local16.c
dlls/kernel32/local16.c
+2
-2
module.c
dlls/kernel32/module.c
+1
-1
No files found.
dlls/kernel32/local16.c
View file @
650b2733
...
...
@@ -133,7 +133,7 @@ typedef struct
/* All local heap allocations are aligned on 4-byte boundaries */
#define LALIGN(word) (((word) + 3) & ~3)
#define ARENA_PTR(ptr,arena) ((LOCALARENA *)((
char*)(
ptr)+(arena)))
#define ARENA_PTR(ptr,arena) ((LOCALARENA *)((ptr)+(arena)))
#define ARENA_PREV(ptr,arena) (ARENA_PTR((ptr),(arena))->prev & ~3)
#define ARENA_NEXT(ptr,arena) (ARENA_PTR((ptr),(arena))->next)
#define ARENA_FLAGS(ptr,arena) (ARENA_PTR((ptr),(arena))->prev & 3)
...
...
@@ -1937,7 +1937,7 @@ static VOID Local32_FromHandle( LOCAL32HEADER *header, INT16 type,
case
1
:
{
WORD
*
selTable
=
(
LPWORD
)(
header
->
base
+
header
->
selectorTableOffset
);
DWORD
offset
=
(
LPBYTE
)
ptr
-
header
->
base
;
DWORD
offset
=
ptr
-
header
->
base
;
*
addr
=
MAKELONG
(
offset
&
0x7fff
,
selTable
[
offset
>>
15
]
);
}
break
;
...
...
dlls/kernel32/module.c
View file @
650b2733
...
...
@@ -806,7 +806,7 @@ static BOOL load_library_as_datafile( LPCWSTR name, HMODULE* hmod)
*
hmod
=
0
;
if
(
SearchPathW
(
NULL
,
(
LPCWSTR
)
name
,
dotDLL
,
sizeof
(
filenameW
)
/
sizeof
(
filenameW
[
0
]),
if
(
SearchPathW
(
NULL
,
name
,
dotDLL
,
sizeof
(
filenameW
)
/
sizeof
(
filenameW
[
0
]),
filenameW
,
NULL
))
{
hFile
=
CreateFileW
(
filenameW
,
GENERIC_READ
,
FILE_SHARE_READ
,
...
...
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