printf format fixes

This commit is contained in:
Wim Taymans 2019-06-07 17:16:02 +02:00
parent d46c239ab0
commit 497a8364c5
9 changed files with 23 additions and 22 deletions

View file

@ -113,7 +113,7 @@ int main(int argc, char *argv[])
size = DEFAULT_SIZE;
printf("buffer size (bytes): %d\n", size);
printf("array size (bytes): %ld\n", sizeof(int) * ARRAY_SIZE);
printf("array size (bytes): %zd\n", sizeof(int) * ARRAY_SIZE);
spa_ringbuffer_init(&rb);
data = malloc(size);