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
21d6e97d
Commit
21d6e97d
authored
Apr 03, 2017
by
Daniel Lehman
Committed by
Alexandre Julliard
Apr 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix build warnings.
Signed-off-by:
Daniel Lehman
<
dlehman@esri.com
>
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b98ece0d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scheduler.c
dlls/msvcrt/scheduler.c
+2
-2
No files found.
dlls/msvcrt/scheduler.c
View file @
21d6e97d
...
...
@@ -471,7 +471,7 @@ unsigned int __thiscall SchedulerPolicy_SetPolicyValue(SchedulerPolicy *this,
throw_exception
(
EXCEPTION_INVALID_SCHEDULER_POLICY_KEY
,
0
,
"MinConcurrency"
);
if
(
policy
==
MaxConcurrency
)
throw_exception
(
EXCEPTION_INVALID_SCHEDULER_POLICY_KEY
,
0
,
"MaxConcurrency"
);
if
(
policy
<
SchedulerKind
||
policy
>=
last_policy_id
)
if
(
policy
>=
last_policy_id
)
throw_exception
(
EXCEPTION_INVALID_SCHEDULER_POLICY_KEY
,
0
,
"Invalid policy"
);
switch
(
policy
)
{
...
...
@@ -531,7 +531,7 @@ unsigned int __thiscall SchedulerPolicy_GetPolicyValue(
{
TRACE
(
"(%p %d)
\n
"
,
this
,
policy
);
if
(
policy
<
SchedulerKind
||
policy
>=
last_policy_id
)
if
(
policy
>=
last_policy_id
)
throw_exception
(
EXCEPTION_INVALID_SCHEDULER_POLICY_KEY
,
0
,
"Invalid policy"
);
return
this
->
policy_container
->
policies
[
policy
];
}
...
...
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