silence warning;

82-dvmbridge---implement-notch-filter-for-2175hz-trc-guard-tone
Bryan Biedenkapp 1 year ago
parent b6191bde56
commit a28eaa46d4

@ -132,7 +132,7 @@ public:
/*
* This uses the RTTI hack to access private members on FListView; and this code *could* break as a consequence.
*/
if (firstScrollLinePos > m_listView.getCount())
if ((size_t)firstScrollLinePos > m_listView.getCount())
firstScrollLinePos = 0;
if (firstScrollLinePos > 0 && m_listView.getCount() > 0) {
(m_listView.*RTTIResult<PrivateFListViewScrollToY>::ptr)(firstScrollLinePos);

Loading…
Cancel
Save

Powered by TurnKey Linux.