mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
Fix some compilation warnings.
This commit is contained in:
parent
f3c8821b0f
commit
7ce15f1c54
Notes:
sideshowbarker
2024-07-19 15:46:26 +09:00
Author: https://github.com/awesomekling
Commit: 7ce15f1c54
5 changed files with 8 additions and 8 deletions
|
@ -12,13 +12,14 @@ static dword time_slice_for(Process::Priority priority)
|
|||
{
|
||||
// One time slice unit == 1ms
|
||||
switch (priority) {
|
||||
case Process::LowPriority:
|
||||
return 5;
|
||||
case Process::NormalPriority:
|
||||
return 15;
|
||||
case Process::HighPriority:
|
||||
return 50;
|
||||
case Process::NormalPriority:
|
||||
return 15;
|
||||
case Process::LowPriority:
|
||||
return 5;
|
||||
}
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
Process* current;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue