From 9574eadd446c7e4e45f6b09aab28a3074fb368fd Mon Sep 17 00:00:00 2001 From: bsongis Date: Tue, 7 Aug 2012 10:26:13 +0000 Subject: [PATCH] Another warning removed (thanks Bryan!) --- src/model_menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model_menus.cpp b/src/model_menus.cpp index 252c64c86..b06ef4655 100644 --- a/src/model_menus.cpp +++ b/src/model_menus.cpp @@ -371,7 +371,7 @@ void menuProcModelSelect(uint8_t event) s_copySrcRow = oldSub; // find a hole (in the first empty slot above / below) m_posVert = eeFindEmptyModel(s_copySrcRow, _event==EVT_KEY_FIRST(KEY_DOWN)); - if (m_posVert == 0xff) { + if ((uint8_t)m_posVert == 0xff) { // no free room for duplicating the model AUDIO_ERROR(); m_posVert = oldSub;