Skip to content

Commit 5c3445d

Browse files
homalozoaHomalozoa
andauthored
[Fix] Fix cmake version warning and -Wformat warning (#319)
Signed-off-by: Homalozoa <[email protected]> Co-authored-by: Homalozoa <[email protected]>
1 parent 433dc55 commit 5c3445d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/controls/manual_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ uint8_t ManualSelectorNode::selectChild() const
155155
// now print all the menu items and highlight the first one
156156
for(size_t i=0; i<list.size(); i++ )
157157
{
158-
mvwprintw( win, i+5, 0, "%2d. %s", i+1, list[i].c_str() );
158+
mvwprintw( win, i+5, 0, "%2ld. %s", i+1, list[i].c_str() );
159159
}
160160

161161
wrefresh( win ); // update the terminal screen

tools/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8)
1+
cmake_minimum_required(VERSION 3.5)
22

33

44
add_executable(bt3_log_cat bt_log_cat.cpp )

0 commit comments

Comments
 (0)