mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
tests/cpp_test.cc : Fix printf format flag.
This commit is contained in:
parent
efe8157cfa
commit
abee60d5e1
@ -3,6 +3,9 @@
|
||||
* src/wav.c src/wav_w64.c
|
||||
Use audio detect function when 'fmt ' chunk data is suspicious.
|
||||
|
||||
* configure.ac
|
||||
Add ugly hack to remove -Werror from some Makefiles.
|
||||
|
||||
2007-04-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* examples/sndfile-data-trim.c
|
||||
|
@ -123,7 +123,7 @@ read_file (const char * filename, int format)
|
||||
} ;
|
||||
|
||||
if (file.frames () != ARRAY_LEN (sbuffer) * 4)
|
||||
{ printf ("\n\n%s %d : Error : frames %ld should be %lu.\n\n", __func__, __LINE__,
|
||||
{ printf ("\n\n%s %d : Error : frames %ld should be %u.\n\n", __func__, __LINE__,
|
||||
SF_COUNT_TO_LONG (file.frames ()), ARRAY_LEN (sbuffer) * 4 / 2) ;
|
||||
exit (1) ;
|
||||
} ;
|
||||
|
Loading…
Reference in New Issue
Block a user