mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 00:25:06 +00:00
AK: Make Vector use size_t for its size and capacity
This commit is contained in:
parent
9c6f7d3e7d
commit
ceec1a7d38
94 changed files with 323 additions and 317 deletions
|
@ -70,7 +70,7 @@ void WaveEditor::paint_event(GUI::PaintEvent& event)
|
|||
painter.set_pixel({ prev_x, left_prev_y }, left_wave_colors[RecordedSample]);
|
||||
painter.set_pixel({ prev_x, right_prev_y }, right_wave_colors[RecordedSample]);
|
||||
|
||||
for (int x = 1; x < recorded_sample.size(); ++x) {
|
||||
for (size_t x = 1; x < recorded_sample.size(); ++x) {
|
||||
int left_y = sample_to_y(recorded_sample[x].left);
|
||||
int right_y = sample_to_y(recorded_sample[x].right);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue