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
dffba6aa
Commit
dffba6aa
authored
Jul 11, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jul 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Remove unneeded address-of operators from array names.
parent
3427b943
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
instr.c
dlls/kernel32/instr.c
+1
-1
locale.c
dlls/kernel32/locale.c
+1
-1
relay16.c
dlls/kernel32/relay16.c
+1
-1
task.c
dlls/kernel32/task.c
+5
-5
No files found.
dlls/kernel32/instr.c
View file @
dffba6aa
...
...
@@ -709,7 +709,7 @@ DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT86 *context )
idt
[
1
].
LimitLow
=
0x100
;
/* FIXME */
idt
[
2
].
LimitLow
=
0x11E
;
/* FIXME */
idt
[
3
].
LimitLow
=
0x500
;
/* FIXME */
store_reg
(
context
,
instr
[
1
],
(
BYTE
*
)
&
idt
+
offset
,
long_op
);
store_reg
(
context
,
instr
[
1
],
(
BYTE
*
)
idt
+
offset
,
long_op
);
context
->
Eip
+=
prefixlen
+
len
+
1
;
return
ExceptionContinueExecution
;
}
...
...
dlls/kernel32/locale.c
View file @
dffba6aa
...
...
@@ -3255,7 +3255,7 @@ BOOL WINAPI IsValidLanguageGroup(LGRPID lgrpid, DWORD dwFlags)
sprintfW
(
szValueName
,
szFormat
,
lgrpid
);
if
(
NLS_RegGetDword
(
hKey
,
szValueName
,
(
LPDWORD
)
&
szValue
))
if
(
NLS_RegGetDword
(
hKey
,
szValueName
,
(
LPDWORD
)
szValue
))
{
bSupported
=
TRUE
;
...
...
dlls/kernel32/relay16.c
View file @
dffba6aa
...
...
@@ -277,7 +277,7 @@ static const CALLFROM16 *get_entry_point( STACK16FRAME *frame, LPSTR module, LPS
/* Retrieve entry point call structure */
p
=
MapSL
(
MAKESEGPTR
(
frame
->
module_cs
,
frame
->
callfrom_ip
)
);
/* p now points to lret, get the start of CALLFROM16 structure */
return
(
CALLFROM16
*
)(
p
-
(
BYTE
*
)
&
((
CALLFROM16
*
)
0
)
->
ret
);
return
(
CALLFROM16
*
)(
p
-
FIELD_OFFSET
(
CALLFROM16
,
ret
)
);
}
...
...
dlls/kernel32/task.c
View file @
dffba6aa
...
...
@@ -196,7 +196,7 @@ static SEGPTR TASK_AllocThunk(void)
if
(
!
(
pTask
=
TASK_GetCurrent
()))
return
0
;
sel
=
pTask
->
hCSAlias
;
pThunk
=
(
THUNKS
*
)
&
pTask
->
thunks
;
pThunk
=
(
THUNKS
*
)
pTask
->
thunks
;
base
=
(
char
*
)
pThunk
-
(
char
*
)
pTask
;
while
(
!
pThunk
->
free
)
{
...
...
@@ -231,7 +231,7 @@ static BOOL TASK_FreeThunk( SEGPTR thunk )
if
(
!
(
pTask
=
TASK_GetCurrent
()))
return
0
;
sel
=
pTask
->
hCSAlias
;
pThunk
=
(
THUNKS
*
)
&
pTask
->
thunks
;
pThunk
=
(
THUNKS
*
)
pTask
->
thunks
;
base
=
(
char
*
)
pThunk
-
(
char
*
)
pTask
;
while
(
sel
&&
(
sel
!=
HIWORD
(
thunk
)))
{
...
...
@@ -286,7 +286,7 @@ static TDB *TASK_Create( NE_MODULE *pModule, UINT16 cmdShow, LPCSTR cmdline, BYT
/* Create the thunks block */
TASK_CreateThunks
(
hTask
,
(
char
*
)
&
pTask
->
thunks
-
(
char
*
)
pTask
,
7
);
TASK_CreateThunks
(
hTask
,
(
char
*
)
pTask
->
thunks
-
(
char
*
)
pTask
,
7
);
/* Copy the module name */
...
...
@@ -315,7 +315,7 @@ static TDB *TASK_Create( NE_MODULE *pModule, UINT16 cmdShow, LPCSTR cmdline, BYT
pTask
->
pdb
.
savedint23
=
0
;
pTask
->
pdb
.
savedint24
=
0
;
pTask
->
pdb
.
fileHandlesPtr
=
MAKESEGPTR
(
GlobalHandleToSel16
(
pTask
->
hPDB
),
(
int
)
&
((
PDB16
*
)
0
)
->
fileHandles
);
MAKESEGPTR
(
GlobalHandleToSel16
(
pTask
->
hPDB
),
FIELD_OFFSET
(
PDB16
,
fileHandles
)
);
pTask
->
pdb
.
hFileHandles
=
0
;
memset
(
pTask
->
pdb
.
fileHandles
,
0xff
,
sizeof
(
pTask
->
pdb
.
fileHandles
)
);
/* FIXME: should we make a copy of the environment? */
...
...
@@ -348,7 +348,7 @@ static TDB *TASK_Create( NE_MODULE *pModule, UINT16 cmdShow, LPCSTR cmdline, BYT
/* Default DTA overwrites command line */
pTask
->
dta
=
MAKESEGPTR
(
pTask
->
hPDB
,
(
int
)
&
pTask
->
pdb
.
cmdLine
-
(
int
)
&
pTask
->
pdb
);
pTask
->
dta
=
MAKESEGPTR
(
pTask
->
hPDB
,
FIELD_OFFSET
(
PDB16
,
cmdLine
)
);
/* Create scheduler event for 16-bit tasks */
...
...
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