From ca0e47f44ccb4498bf958b44f1506ae5421b00dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Thu, 27 Oct 2016 12:15:36 +0200 Subject: [PATCH] [apps/calculation] Correct constant expression types Change-Id: Ida74f65af010536a63704cf505fca86acf27e496 --- apps/calculation/history_controller.h | 2 +- apps/calculation/history_view_cell.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/calculation/history_controller.h b/apps/calculation/history_controller.h index db9c1b803..ae314d001 100644 --- a/apps/calculation/history_controller.h +++ b/apps/calculation/history_controller.h @@ -32,7 +32,7 @@ public: private: constexpr static int k_maxNumberOfDisplayedRows = 10; - constexpr static int k_resultHeight = 12; + constexpr static KDCoordinate k_resultHeight = 12; HistoryViewCell m_calculationHistory[k_maxNumberOfDisplayedRows]; SelectableTableView m_selectableTableView; CalculationStore * m_calculationStore; diff --git a/apps/calculation/history_view_cell.h b/apps/calculation/history_view_cell.h index 1c7f72725..ff9e8267a 100644 --- a/apps/calculation/history_view_cell.h +++ b/apps/calculation/history_view_cell.h @@ -20,7 +20,7 @@ public: void didBecomeFirstResponder() override; bool handleEvent(Ion::Events::Event event) override; private: - constexpr static int k_resultWidth = 80; + constexpr static KDCoordinate k_resultWidth = 80; enum class SelectedView { PrettyPrint, Result