SDL_getenv() should return const
This also allows us to use SDL_FreeLater() and make SDL_getenv() thread-safe on Windows.
This commit is contained in:
1 parent
ef21e31a9a
commit
29f0fd33dc
14 files changed
+88
-95
No files matched your search
@@ -1774,7 +1774,7 @@ static int WaveLoad(SDL_IOStream *src, WaveFile *file, SDL_AudioSpec *spec, Uint
|
||||
int result;
|
||||
Uint32 chunkcount = 0;
|
||||
Uint32 chunkcountlimit = 10000;
|
||||
char *envchunkcountlimit;
|
||||
const char *envchunkcountlimit;
|
||||
Sint64 RIFFstart, RIFFend, lastchunkpos;
|
||||
SDL_bool RIFFlengthknown = SDL_FALSE;
|
||||
WaveFormat *format = &file->format;
|
||||
|
||||
Reference in new issue
Block a user