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 {
42
42
43
43
// / Writes the data to the decoder
44
44
size_t write (const uint8_t *data, size_t len) override {
45
- LOGI (" write: %u" , len);
45
+ LOGI (" write: %u" , ( unsigned ) len);
46
46
size_t result = len;
47
47
// prevent npe
48
48
if ((p_out == nullptr && p_writer == nullptr ) || (data == nullptr ) ||
@@ -76,7 +76,7 @@ class MetaDataFilter : public AudioOutput {
76
76
// write partial data
77
77
size_t to_write = tmp.available ();
78
78
if (to_write > 0 ) {
79
- LOGI (" output: %d " , to_write);
79
+ LOGI (" output: %u " , ( unsigned ) to_write);
80
80
size_t written = 0 ;
81
81
if (p_out) written = p_out->write (tmp.data (), to_write);
82
82
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 {
333
333
size_t size = callback_buffer_ptr->size () * sizeof (T);
334
334
// calculate limit
335
335
active_limit = size * activeWhenPercentFilled / 100 ;
336
- LOGI (" activate after: %d bytes" , active_limit);
336
+ LOGI (" activate after: %u bytes" ,( unsigned ) active_limit);
337
337
return true ;
338
338
}
339
339
You can’t perform that action at this time.
0 commit comments