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
ea117516
Commit
ea117516
authored
Sep 14, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Cast-qual warnings fix.
parent
2b164a2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
instr.c
dlls/kernel32/instr.c
+16
-16
No files found.
dlls/kernel32/instr.c
View file @
ea117516
...
...
@@ -125,36 +125,36 @@ static void store_reg( CONTEXT86 *context, BYTE regmodrm, const BYTE *addr, int
switch
((
regmodrm
>>
3
)
&
7
)
{
case
0
:
if
(
long_op
)
context
->
Eax
=
*
(
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Eax
,
*
(
WORD
*
)
addr
);
if
(
long_op
)
context
->
Eax
=
*
(
const
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Eax
,
*
(
const
WORD
*
)
addr
);
break
;
case
1
:
if
(
long_op
)
context
->
Ecx
=
*
(
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Ecx
,
*
(
WORD
*
)
addr
);
if
(
long_op
)
context
->
Ecx
=
*
(
const
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Ecx
,
*
(
const
WORD
*
)
addr
);
break
;
case
2
:
if
(
long_op
)
context
->
Edx
=
*
(
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Edx
,
*
(
WORD
*
)
addr
);
if
(
long_op
)
context
->
Edx
=
*
(
const
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Edx
,
*
(
const
WORD
*
)
addr
);
break
;
case
3
:
if
(
long_op
)
context
->
Ebx
=
*
(
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Ebx
,
*
(
WORD
*
)
addr
);
if
(
long_op
)
context
->
Ebx
=
*
(
const
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Ebx
,
*
(
const
WORD
*
)
addr
);
break
;
case
4
:
if
(
long_op
)
context
->
Esp
=
*
(
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Esp
,
*
(
WORD
*
)
addr
);
if
(
long_op
)
context
->
Esp
=
*
(
const
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Esp
,
*
(
const
WORD
*
)
addr
);
break
;
case
5
:
if
(
long_op
)
context
->
Ebp
=
*
(
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Ebp
,
*
(
WORD
*
)
addr
);
if
(
long_op
)
context
->
Ebp
=
*
(
const
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Ebp
,
*
(
const
WORD
*
)
addr
);
break
;
case
6
:
if
(
long_op
)
context
->
Esi
=
*
(
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Esi
,
*
(
WORD
*
)
addr
);
if
(
long_op
)
context
->
Esi
=
*
(
const
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Esi
,
*
(
const
WORD
*
)
addr
);
break
;
case
7
:
if
(
long_op
)
context
->
Edi
=
*
(
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Edi
,
*
(
WORD
*
)
addr
);
if
(
long_op
)
context
->
Edi
=
*
(
const
DWORD
*
)
addr
;
else
SET_LOWORD
(
context
->
Edi
,
*
(
const
WORD
*
)
addr
);
break
;
}
}
...
...
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