Commit 226d8a5
committed
test_opus_extensions.c: Fix 32-bit compile errors
Fix multiple occurrences of the following error:
tests/test_opus_extensions.c: In function ‘test_extensions_parse_success’:
tests/test_opus_extensions.c:273:64: error: passing argument 4 of ‘opus_packet_extensions_parse’ from incompatible pointer type [-Wincompatible-pointer-types]
273 | result = opus_packet_extensions_parse(packet, len, ext_out, &nb_ext,
| ^~~~~~~
| |
| int *
In file included from tests/test_opus_extensions.c:43:
tests/../src/opus_private.h:247:63: note: expected ‘opus_int32 *’ {aka ‘long int *’} but argument is of type ‘int *’
247 | opus_int32 len, opus_extension_data *extensions, opus_int32 *nb_extensions,
| ~~~~~~~~~~~~^~~~~~~~~~~~~1 parent 2feff46 commit 226d8a5
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
585 | | - | |
| 585 | + | |
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
| |||
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
646 | | - | |
| 646 | + | |
647 | 647 | | |
648 | 648 | | |
649 | 649 | | |
| |||
0 commit comments