diff options
author | Avamander <avamander@gmail.com> | 2021-06-25 00:40:55 +0300 |
---|---|---|
committer | JF002 <JF002@users.noreply.github.com> | 2021-07-02 16:27:41 +0200 |
commit | bdb5965f1a3432a4f24b5fc566973bf4ab811b08 (patch) | |
tree | 77de1bc6411726c47ec9ec3636b8a85f4902b6b1 /src/displayapp/screens/SystemInfo.cpp | |
parent | 2f479e5fc7688ae47e99c0f4aead87c9cdc29123 (diff) |
static_cast cleanup
Diffstat (limited to 'src/displayapp/screens/SystemInfo.cpp')
-rw-r--r-- | src/displayapp/screens/SystemInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index f70b67fd..1e90bf40 100644 --- a/src/displayapp/screens/SystemInfo.cpp +++ b/src/displayapp/screens/SystemInfo.cpp @@ -203,11 +203,11 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen3() { bleAddr[2], bleAddr[1], bleAddr[0], - (int) mon.total_size - mon.free_size, + static_cast<int>(mon.total_size - mon.free_size), mon.used_pct, mon.max_used, mon.frag_pct, - (int) mon.free_biggest_size, + static_cast<int>(mon.free_biggest_size), 0); lv_obj_align(label, lv_scr_act(), LV_ALIGN_CENTER, 0, 0); return std::make_unique<Screens::Label>(2, 5, app, label); |