Skip to content

Commit

Permalink
Merge branch 'release/0.9.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverepper committed Jan 9, 2024
2 parents 9b66d6b + 21370f3 commit 8a49941
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.3)

project(phone VERSION 0.9.0 LANGUAGES C CXX)
project(phone VERSION 0.9.2 LANGUAGES C CXX)

set(CMAKE_CXX_STANDARD 20)

Expand Down
4 changes: 3 additions & 1 deletion src/c_cli/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,10 @@ int main() {
phone_refresh_audio_devices();
size_t count = phone_get_audio_devices_count();
size_t max_driver_name_length;
if (phone_get_audio_device_driver_name_length(&max_driver_name_length) != PHONE_STATUS_SUCCESS)
if (phone_get_audio_device_driver_name_length(&max_driver_name_length) != PHONE_STATUS_SUCCESS) {
fprintf(stderr, "%s\n", phone_last_error());
break;
}
// +1 for zero termination!
++max_driver_name_length;

Expand Down

0 comments on commit 8a49941

Please sign in to comment.