mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
AK: Use size_t for CircularQueue and CircularDeque
This commit is contained in:
parent
88b9fcb976
commit
7592f9afd5
5 changed files with 19 additions and 15 deletions
|
@ -58,7 +58,7 @@ void GraphWidget::paint_event(GUI::PaintEvent& event)
|
|||
float scale = (float)inner_rect.height() / (float)m_max;
|
||||
|
||||
Gfx::Point prev_point;
|
||||
for (int i = 0; i < m_values.size(); ++i) {
|
||||
for (size_t i = 0; i < m_values.size(); ++i) {
|
||||
int x = inner_rect.right() - (i * 2) + 1;
|
||||
if (x < 0)
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue