mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
tests/chunk_test.c : Fix error message.
This commit is contained in:
parent
eadcab99d4
commit
bbfd5150da
@ -145,7 +145,7 @@ chunk_test (const char *filename, int typemajor)
|
||||
|
||||
exit_if_true (
|
||||
length_before > chunk_info.datalen || chunk_info.datalen - length_before > 4,
|
||||
"\n\nLine %d : Bad chunk length %u (previous length %u)\n", __LINE__, chunk_info.datalen - length_before
|
||||
"\n\nLine %d : Bad chunk length %u (previous length %u)\n", __LINE__, chunk_info.datalen, length_before
|
||||
) ;
|
||||
|
||||
chunk_info.data = malloc (chunk_info.datalen) ;
|
||||
|
Loading…
Reference in New Issue
Block a user