From f99016d78f8738e25ed4c242bb6f9b73ac0dc8c0 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sat, 15 Aug 2015 15:40:55 -0700 Subject: [PATCH] Tweak cast to C++ style. --- firmware/application/ui_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/ui_setup.cpp b/firmware/application/ui_setup.cpp index b9101553..178bac1a 100644 --- a/firmware/application/ui_setup.cpp +++ b/firmware/application/ui_setup.cpp @@ -121,7 +121,7 @@ SetFrequencyCorrectionView::SetFrequencyCorrectionView( } }); SetFrequencyCorrectionModel model { - (int8_t) (portapack::persistent_memory::correction_ppb() / 1000) + static_cast(portapack::persistent_memory::correction_ppb() / 1000) }; form_init(model);