File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class MetaDataFilter : public AudioOutput {
4242
4343 // / Writes the data to the decoder
4444 size_t write (const uint8_t *data, size_t len) override {
45- LOGI (" write: %u" , len);
45+ LOGI (" write: %u" , ( unsigned ) len);
4646 size_t result = len;
4747 // prevent npe
4848 if ((p_out == nullptr && p_writer == nullptr ) || (data == nullptr ) ||
@@ -76,7 +76,7 @@ class MetaDataFilter : public AudioOutput {
7676 // write partial data
7777 size_t to_write = tmp.available ();
7878 if (to_write > 0 ) {
79- LOGI (" output: %d " , to_write);
79+ LOGI (" output: %u " , ( unsigned ) to_write);
8080 size_t written = 0 ;
8181 if (p_out) written = p_out->write (tmp.data (), to_write);
8282 if (p_writer) written = p_writer->write (tmp.data (), to_write);
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ class QueueStream : public BaseStream {
333333 size_t size = callback_buffer_ptr->size () * sizeof (T);
334334 // calculate limit
335335 active_limit = size * activeWhenPercentFilled / 100 ;
336- LOGI (" activate after: %d bytes" , active_limit);
336+ LOGI (" activate after: %u bytes" ,( unsigned ) active_limit);
337337 return true ;
338338 }
339339
You can’t perform that action at this time.
0 commit comments