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
5605db6b
Commit
5605db6b
authored
Dec 16, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386.exe16: Use BOOL type where appropriate.
parent
b160c733
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
int31.c
dlls/krnl386.exe16/int31.c
+4
-4
No files found.
dlls/krnl386.exe16/int31.c
View file @
5605db6b
...
@@ -702,7 +702,7 @@ FARPROC16 DPMI_AllocInternalRMCB( RMCBPROC proc )
...
@@ -702,7 +702,7 @@ FARPROC16 DPMI_AllocInternalRMCB( RMCBPROC proc )
}
}
static
int
DPMI_FreeRMCB
(
DWORD
address
)
static
BOOL
DPMI_FreeRMCB
(
DWORD
address
)
{
{
RMCB
*
CurrRMCB
=
FirstRMCB
;
RMCB
*
CurrRMCB
=
FirstRMCB
;
RMCB
*
PrevRMCB
=
NULL
;
RMCB
*
PrevRMCB
=
NULL
;
...
@@ -720,9 +720,9 @@ static int DPMI_FreeRMCB( DWORD address )
...
@@ -720,9 +720,9 @@ static int DPMI_FreeRMCB( DWORD address )
FirstRMCB
=
CurrRMCB
->
next
;
FirstRMCB
=
CurrRMCB
->
next
;
DOSMEM_FreeBlock
(
PTR_REAL_TO_LIN
(
SELECTOROF
(
CurrRMCB
->
address
),
OFFSETOF
(
CurrRMCB
->
address
)));
DOSMEM_FreeBlock
(
PTR_REAL_TO_LIN
(
SELECTOROF
(
CurrRMCB
->
address
),
OFFSETOF
(
CurrRMCB
->
address
)));
HeapFree
(
GetProcessHeap
(),
0
,
CurrRMCB
);
HeapFree
(
GetProcessHeap
(),
0
,
CurrRMCB
);
return
0
;
return
TRUE
;
}
}
return
1
;
return
FALSE
;
}
}
...
@@ -823,7 +823,7 @@ static void DOSVM_FreeRMCB( CONTEXT *context )
...
@@ -823,7 +823,7 @@ static void DOSVM_FreeRMCB( CONTEXT *context )
FIXME
(
"callback address: %04x:%04x
\n
"
,
FIXME
(
"callback address: %04x:%04x
\n
"
,
CX_reg
(
context
),
DX_reg
(
context
));
CX_reg
(
context
),
DX_reg
(
context
));
if
(
DPMI_FreeRMCB
(
MAKELONG
(
DX_reg
(
context
),
CX_reg
(
context
))))
{
if
(
!
DPMI_FreeRMCB
(
MAKELONG
(
DX_reg
(
context
),
CX_reg
(
context
))))
{
SET_AX
(
context
,
0x8024
);
/* invalid callback address */
SET_AX
(
context
,
0x8024
);
/* invalid callback address */
SET_CFLAG
(
context
);
SET_CFLAG
(
context
);
}
}
...
...
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