Use %td for ptrdiff_t printf format specifier
Signed-off-by: Colin Ian King <colin.king@canonical.com>
This commit is contained in:
parent
632e92f1ae
commit
d6a616fff8
|
@ -1111,7 +1111,7 @@ main( int argc, char*argv[] )
|
|||
assert ( samples_nvalid + read_nsamples <= samplebuf_size );
|
||||
ssize_t r;
|
||||
r = simpleaudio_read(sa, samples_readptr, read_nsamples);
|
||||
debug_log("simpleaudio_read(samplebuf+%zd, n=%zu) returns %zd\n",
|
||||
debug_log("simpleaudio_read(samplebuf+%td, n=%zu) returns %zd\n",
|
||||
samples_readptr - samplebuf, read_nsamples, r);
|
||||
if ( r < 0 ) {
|
||||
fprintf(stderr, "simpleaudio_read: error\n");
|
||||
|
|
Loading…
Reference in New Issue