mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
SystemMonitor: Use u64 for all GraphWidget values
Turns out size_t is not guaranteed to be 64-bit on i686 and trying to set the max value using a u64 caused a narrowing conversion.
This commit is contained in:
parent
4444bcabde
commit
c330ad27b6
3 changed files with 24 additions and 24 deletions
|
@ -20,7 +20,7 @@ GraphWidget::~GraphWidget()
|
|||
{
|
||||
}
|
||||
|
||||
void GraphWidget::add_value(Vector<size_t, 1>&& value)
|
||||
void GraphWidget::add_value(Vector<u64, 1>&& value)
|
||||
{
|
||||
m_values.enqueue(move(value));
|
||||
update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue