diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1a64239..b2fcf78 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,3 @@ - add_executable(cexp "main.c" "exp_list.c") diff --git a/src/exp_list.c b/src/exp_list.c index 75684e9..9d746c9 100644 --- a/src/exp_list.c +++ b/src/exp_list.c @@ -47,7 +47,7 @@ void print_list_items() { for (size_t i = 0; i < list_index_count; i++) { - PRINT_LINE("%i. [%s]", i, list[i].name); + PRINT_LINE("%lu. [%s]", i, list[i].name); } } struct exp_data* get_command(char* command)