@@ -118,7 +118,7 @@ class StreamCopyT {
118118 // callback with unconverted data
119119 if (onWrite!=nullptr ) onWrite (onWriteObj, buffer, result);
120120 #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);
122122 #endif
123123 } else {
124124 // give the processor some time
@@ -157,7 +157,7 @@ class StreamCopyT {
157157 }
158158 result = write (samples * sizeof (T)*2 , delayCount);
159159 #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);
161161 #endif
162162 } else {
163163 delay (delay_on_no_data);
@@ -313,7 +313,7 @@ class StreamCopy : public StreamCopyT<uint8_t> {
313313 coverter_ptr->convert ((T (*)[2 ])buffer, result / (sizeof (T)*2 ) );
314314 write (result, delayCount);
315315 #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);
317317 #endif
318318 } else {
319319 // give the processor some time
0 commit comments