tests/cpp_test.cc : Fix printf format flag.

This commit is contained in:
Erik de Castro Lopo 2007-04-15 20:15:32 +10:00
parent efe8157cfa
commit abee60d5e1
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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) ;
} ;