History

tests: Fix compiler warning

Erik de Castro Lopo committed 6 years ago

Commit 6308ce11 parent 8350b761 file · +1 −1Browse files

Unified · Split

tests/snr_bw_test.c+1−1
@@ -250,7 +250,7 @@ snr_test (SINGLE_TEST *test_data, int number, int converter, int verbose) · 249 unmodified lines
250 if (verbose != 0)250 if (verbose != 0)
251 printf ("\tOutput Len : %ld\n", src_data.output_frames_gen) ;251 printf ("\tOutput Len : %ld\n", src_data.output_frames_gen) ;
252 252
253 if (abs (src_data.output_frames_gen - output_len) > 4)253 if (abs ((int) (src_data.output_frames_gen - output_len)) > 4)
254 { printf ("\n\nLine %d : output data length should be %d.\n\n", __LINE__, output_len) ;254 { printf ("\n\nLine %d : output data length should be %d.\n\n", __LINE__, output_len) ;
255 exit (1) ;255 exit (1) ;
256 } ;256 } ;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t