mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +00:00
AK: Remove unnecessary casts to size_t, after Vector changes
Now that Vector uses size_t, we can remove a whole bunch of redundant casts to size_t.
This commit is contained in:
parent
fee20bd8de
commit
22d0a6d92f
Notes:
sideshowbarker
2024-07-19 08:57:27 +09:00
Author: https://github.com/awesomekling
Commit: 22d0a6d92f
15 changed files with 60 additions and 57 deletions
|
@ -599,7 +599,7 @@ void Scheduler::timer_tick(RegisterState& regs)
|
|||
sample.pid = Process::current->pid();
|
||||
sample.tid = Thread::current->tid();
|
||||
sample.timestamp = g_uptime;
|
||||
for (size_t i = 0; i < min((size_t)backtrace.size(), Profiling::max_stack_frame_count); ++i) {
|
||||
for (size_t i = 0; i < min(backtrace.size(), Profiling::max_stack_frame_count); ++i) {
|
||||
sample.frames[i] = backtrace[i];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue