mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-01 14:10:54 +00:00
Silence compiler warning caused by swr_convert
This commit is contained in:
parent
c62fd57328
commit
d101fbc107
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@
|
|||
#include "s_sound.h"
|
||||
#include "w_wad.h"
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
// Because of swr_convert not using const on the input buffer's pointer
|
||||
#pragma GCC diagnostic ignored "-Wcast-qual"
|
||||
#endif
|
||||
|
||||
#define IO_BUFFER_SIZE (8 * 1024)
|
||||
#define STREAM_BUFFER_TIME (4 * TICRATE)
|
||||
|
||||
|
|
Loading…
Reference in a new issue