1
0
mirror of http://mpg123.de/trunk/.git synced 2025-07-28 15:02:00 +03:00

examples: fix compiler warnings

git-svn-id: svn://scm.orgis.org/mpg123/trunk@4620 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
thor
2020-03-16 07:19:54 +00:00
parent 99336c6530
commit b030c49633
4 changed files with 11 additions and 3 deletions

View File

@ -17,6 +17,7 @@
#endif
#include <stdio.h>
#include <string.h>
int do_work(mpg123_handle *m);
@ -79,7 +80,7 @@ int do_work(mpg123_handle *m)
/* Now write out both header and data, fire and forget. */
write(STDOUT_FILENO, hbuf, 4);
write(STDOUT_FILENO, bodydata, bodybytes);
fprintf(stderr, "%zu: header 0x%08x, %zu body bytes\n", ++count, header, bodybytes);
fprintf(stderr, "%zu: header 0x%08lx, %zu body bytes\n", ++count, header, bodybytes);
}
}