leaudio: Fix build warnings in logs
packages/modules/Bluetooth/system/bta/le_audio/client.cc:3840:13: warning: format specifies type 'unsigned short' but the argument has type 'LeAudioContextType' [-Wformat]
3838 | dprintf(fd, " configuration: %s (0x%08hx)\n",
| ~~~~~
3839 | bluetooth::common::ToString(configuration_context_type_).c_str(),
3840 | configuration_context_type_);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| static_cast<unsigned short>( )
packages/modules/Bluetooth/system/bta/le_audio/client.cc:3850:15: warning: format specifies type 'int' but the argument has type 'value_type' (aka 'bluetooth::le_audio::UnicastMonitorModeStatus') [-Wformat]
3849 | dprintf(fd, " Local sink notified state: %d\n",
| ~~
3850 | sink_monitor_notified_status_.value());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| static_cast<int>( )
Bug: 331775328
Test: mmm packages/modules/Bluetooth
Flag: Exempt, trivial fix, log only
Change-Id: I72721192366eb36e8702db32929432093798f150
Loading
Please register or sign in to comment