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
545a7130
Commit
545a7130
authored
May 30, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Fix some compilation warnings in 64-bit mode.
parent
63322dba
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
kernel16_private.h
dlls/kernel32/kernel16_private.h
+1
-1
selector.c
dlls/kernel32/selector.c
+1
-1
No files found.
dlls/kernel32/kernel16_private.h
View file @
545a7130
...
...
@@ -168,7 +168,7 @@ extern THHOOK *pThhook;
(((offset)+(size) <= pModule->mapping_size) ? \
(memcpy( buffer, (const char *)pModule->mapping + (offset), (size) ), TRUE) : FALSE)
#define CURRENT_STACK16 ((STACK16FRAME*)MapSL(
(SEGPTR)NtCurrentTeb()->WOW32Reserved
))
#define CURRENT_STACK16 ((STACK16FRAME*)MapSL(
PtrToUlong(NtCurrentTeb()->WOW32Reserved)
))
#define CURRENT_DS (CURRENT_STACK16->ds)
/* push bytes on the 16-bit stack of a thread; return a segptr to the first pushed byte */
...
...
dlls/kernel32/selector.c
View file @
545a7130
...
...
@@ -482,7 +482,7 @@ SEGPTR WINAPI MapLS( LPCVOID ptr )
if
(
!
HIWORD
(
ptr
))
return
(
SEGPTR
)
LOWORD
(
ptr
);
base
=
(
const
char
*
)
ptr
-
((
unsigned
int
)
ptr
&
0x7fff
);
base
=
(
const
char
*
)
ptr
-
((
ULONG_PTR
)
ptr
&
0x7fff
);
HeapLock
(
GetProcessHeap
()
);
for
(
entry
=
first_entry
;
entry
;
entry
=
entry
->
next
)
{
...
...
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