@@ -118,7 +118,7 @@ class StreamCopyT {
118
118
// callback with unconverted data
119
119
if (onWrite!=nullptr ) onWrite (onWriteObj, buffer, result);
120
120
#ifndef COPY_LOG_OFF
121
- LOGI (" StreamCopy::copy %zu -> %zu -> %zu bytes - in %zu hops" , bytes_to_read, bytes_read, result, delayCount);
121
+ LOGI (" StreamCopy::copy %u -> %u -> %u bytes - in %u hops" , ( unsigned int ) bytes_to_read,( unsigned int ) bytes_read, ( unsigned int ) result, ( unsigned int ) delayCount);
122
122
#endif
123
123
} else {
124
124
// give the processor some time
@@ -157,7 +157,7 @@ class StreamCopyT {
157
157
}
158
158
result = write (samples * sizeof (T)*2 , delayCount);
159
159
#ifndef COPY_LOG_OFF
160
- LOGI (" StreamCopy::copy %zu -> %zu bytes - in %d hops" , bytes_to_read, result, delayCount);
160
+ LOGI (" StreamCopy::copy %u -> %u bytes - in %d hops" , ( unsigned int ) bytes_to_read, ( unsigned int ) result, delayCount);
161
161
#endif
162
162
} else {
163
163
delay (delay_on_no_data);
@@ -313,7 +313,7 @@ class StreamCopy : public StreamCopyT<uint8_t> {
313
313
coverter_ptr->convert ((T (*)[2 ])buffer, result / (sizeof (T)*2 ) );
314
314
write (result, delayCount);
315
315
#ifndef COPY_LOG_OFF
316
- LOGI (" StreamCopy::copy %zu bytes - in %zu hops" , result, delayCount);
316
+ LOGI (" StreamCopy::copy %u bytes - in %u hops" , ( unsigned int ) result,( unsigned int ) delayCount);
317
317
#endif
318
318
} else {
319
319
// give the processor some time
0 commit comments